Package com.google.monitoring.v3
Enum UptimeCheckConfig.CheckerType
java.lang.Object
java.lang.Enum<UptimeCheckConfig.CheckerType>
com.google.monitoring.v3.UptimeCheckConfig.CheckerType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<UptimeCheckConfig.CheckerType>
- Enclosing class:
- UptimeCheckConfig
public static enum UptimeCheckConfig.CheckerType
extends Enum<UptimeCheckConfig.CheckerType>
implements com.google.protobuf.ProtocolMessageEnum
What kind of checkers are available to be used by the check.Protobuf enum
google.monitoring.v3.UptimeCheckConfig.CheckerType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe default checker type.`STATIC_IP_CHECKERS` are used for uptime checks that perform egress across the public internet.`VPC_CHECKERS` are used for uptime checks that perform egress using Service Directory and private network access. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe default checker type.static final int`STATIC_IP_CHECKERS` are used for uptime checks that perform egress across the public internet.static final int`VPC_CHECKERS` are used for uptime checks that perform egress using Service Directory and private network access. -
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<UptimeCheckConfig.CheckerType>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 UptimeCheckConfig.CheckerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CHECKER_TYPE_UNSPECIFIED
The default checker type. Currently converted to `STATIC_IP_CHECKERS` on creation, the default conversion behavior may change in the future.
CHECKER_TYPE_UNSPECIFIED = 0; -
STATIC_IP_CHECKERS
`STATIC_IP_CHECKERS` are used for uptime checks that perform egress across the public internet. `STATIC_IP_CHECKERS` use the static IP addresses returned by `ListUptimeCheckIps`.
STATIC_IP_CHECKERS = 1; -
VPC_CHECKERS
`VPC_CHECKERS` are used for uptime checks that perform egress using Service Directory and private network access. When using `VPC_CHECKERS`, the monitored resource type must be `servicedirectory_service`.
VPC_CHECKERS = 3; -
UNRECOGNIZED
-
-
Field Details
-
CHECKER_TYPE_UNSPECIFIED_VALUE
public static final int CHECKER_TYPE_UNSPECIFIED_VALUEThe default checker type. Currently converted to `STATIC_IP_CHECKERS` on creation, the default conversion behavior may change in the future.
CHECKER_TYPE_UNSPECIFIED = 0;- See Also:
-
STATIC_IP_CHECKERS_VALUE
public static final int STATIC_IP_CHECKERS_VALUE`STATIC_IP_CHECKERS` are used for uptime checks that perform egress across the public internet. `STATIC_IP_CHECKERS` use the static IP addresses returned by `ListUptimeCheckIps`.
STATIC_IP_CHECKERS = 1;- See Also:
-
VPC_CHECKERS_VALUE
public static final int VPC_CHECKERS_VALUE`VPC_CHECKERS` are used for uptime checks that perform egress using Service Directory and private network access. When using `VPC_CHECKERS`, the monitored resource type must be `servicedirectory_service`.
VPC_CHECKERS = 3;- 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<UptimeCheckConfig.CheckerType> 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 UptimeCheckConfig.CheckerType 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
-