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 Summary
Enum ConstantsEnum ConstantDescriptionTarget resource is a subnet, and the config originates from the Compute API.Target resource is an interconnect attachment.Target resource is a network.Configuration applies to an entire organization.Scope is unspecified.Target resource is a subnet (Network Management API).Target resource is a VPN tunnel. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intTarget resource is a subnet, and the config originates from the Compute API.static final intTarget resource is an interconnect attachment.static final intTarget resource is a network.static final intConfiguration applies to an entire organization.static final intScope is unspecified.static final intTarget resource is a subnet (Network Management API).static final intTarget resource is a VPN tunnel. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<EffectiveVpcFlowLogsConfig.Scope>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static EffectiveVpcFlowLogsConfig.Scope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SCOPE_UNSPECIFIED
Scope is unspecified.
SCOPE_UNSPECIFIED = 0; -
SUBNET
Target resource is a subnet (Network Management API).
SUBNET = 1; -
COMPUTE_API_SUBNET
Target resource is a subnet, and the config originates from the Compute API.
COMPUTE_API_SUBNET = 2; -
NETWORK
Target resource is a network.
NETWORK = 3; -
VPN_TUNNEL
Target resource is a VPN tunnel.
VPN_TUNNEL = 4; -
INTERCONNECT_ATTACHMENT
Target resource is an interconnect attachment.
INTERCONNECT_ATTACHMENT = 5; -
ORGANIZATION
Configuration applies to an entire organization.
ORGANIZATION = 6; -
UNRECOGNIZED
-
-
Field Details
-
SCOPE_UNSPECIFIED_VALUE
public static final int SCOPE_UNSPECIFIED_VALUEScope is unspecified.
SCOPE_UNSPECIFIED = 0;- See Also:
-
SUBNET_VALUE
public static final int SUBNET_VALUETarget resource is a subnet (Network Management API).
SUBNET = 1;- See Also:
-
COMPUTE_API_SUBNET_VALUE
public static final int COMPUTE_API_SUBNET_VALUETarget 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_VALUETarget resource is a network.
NETWORK = 3;- See Also:
-
VPN_TUNNEL_VALUE
public static final int VPN_TUNNEL_VALUETarget resource is a VPN tunnel.
VPN_TUNNEL = 4;- See Also:
-
INTERCONNECT_ATTACHMENT_VALUE
public static final int INTERCONNECT_ATTACHMENT_VALUETarget resource is an interconnect attachment.
INTERCONNECT_ATTACHMENT = 5;- See Also:
-
ORGANIZATION_VALUE
public static final int ORGANIZATION_VALUEConfiguration applies to an entire organization.
ORGANIZATION = 6;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-