Enum EffectiveVpcFlowLogsConfig.Scope

java.lang.Object
java.lang.Enum<EffectiveVpcFlowLogsConfig.Scope>
com.google.cloud.networkmanagement.v1beta1.EffectiveVpcFlowLogsConfig.Scope
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<EffectiveVpcFlowLogsConfig.Scope>
Enclosing class:
EffectiveVpcFlowLogsConfig

public static enum EffectiveVpcFlowLogsConfig.Scope extends Enum<EffectiveVpcFlowLogsConfig.Scope> implements com.google.protobuf.ProtocolMessageEnum
 The scope for this flow log configuration.
 
Protobuf enum google.cloud.networkmanagement.v1beta1.EffectiveVpcFlowLogsConfig.Scope
  • Enum Constant Details

  • Field Details

    • SCOPE_UNSPECIFIED_VALUE

      public static final int SCOPE_UNSPECIFIED_VALUE
       Scope is unspecified.
       
      SCOPE_UNSPECIFIED = 0;
      See Also:
    • SUBNET_VALUE

      public static final int SUBNET_VALUE
       Target resource is a subnet (Network Management API).
       
      SUBNET = 1;
      See Also:
    • COMPUTE_API_SUBNET_VALUE

      public static final int COMPUTE_API_SUBNET_VALUE
       Target resource is a subnet, and the config originates from the Compute
       API.
       
      COMPUTE_API_SUBNET = 2;
      See Also:
    • NETWORK_VALUE

      public static final int NETWORK_VALUE
       Target resource is a network.
       
      NETWORK = 3;
      See Also:
    • VPN_TUNNEL_VALUE

      public static final int VPN_TUNNEL_VALUE
       Target resource is a VPN tunnel.
       
      VPN_TUNNEL = 4;
      See Also:
    • INTERCONNECT_ATTACHMENT_VALUE

      public static final int INTERCONNECT_ATTACHMENT_VALUE
       Target resource is an interconnect attachment.
       
      INTERCONNECT_ATTACHMENT = 5;
      See Also:
    • ORGANIZATION_VALUE

      public static final int ORGANIZATION_VALUE
       Configuration applies to an entire organization.
       
      ORGANIZATION = 6;
      See Also:
  • Method Details

    • values

      public static EffectiveVpcFlowLogsConfig.Scope[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EffectiveVpcFlowLogsConfig.Scope 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 EffectiveVpcFlowLogsConfig.Scope 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 EffectiveVpcFlowLogsConfig.Scope 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<EffectiveVpcFlowLogsConfig.Scope> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static EffectiveVpcFlowLogsConfig.Scope 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