public enum GroupResourceType extends Enum<GroupResourceType> implements com.google.protobuf.ProtocolMessageEnum
The supported resource types that can be used as values of `group_resource.resource_type`. `INSTANCE` includes `gce_instance` and `aws_ec2_instance` resource types. The resource types `gae_app` and `uptime_url` are not valid here because group checks on App Engine modules and URLs are not allowed.Protobuf enum
google.monitoring.v3.GroupResourceType| Enum Constant and Description |
|---|
AWS_ELB_LOAD_BALANCER
A group of Amazon ELB load balancers.
|
INSTANCE
A group of instances from Google Cloud Platform (GCP) or
Amazon Web Services (AWS).
|
RESOURCE_TYPE_UNSPECIFIED
Default value (not valid).
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AWS_ELB_LOAD_BALANCER_VALUE
A group of Amazon ELB load balancers.
|
static int |
INSTANCE_VALUE
A group of instances from Google Cloud Platform (GCP) or
Amazon Web Services (AWS).
|
static int |
RESOURCE_TYPE_UNSPECIFIED_VALUE
Default value (not valid).
|
| Modifier and Type | Method and Description |
|---|---|
static GroupResourceType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<GroupResourceType> |
internalGetValueMap() |
static GroupResourceType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GroupResourceType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GroupResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupResourceType RESOURCE_TYPE_UNSPECIFIED
Default value (not valid).
RESOURCE_TYPE_UNSPECIFIED = 0;public static final GroupResourceType INSTANCE
A group of instances from Google Cloud Platform (GCP) or Amazon Web Services (AWS).
INSTANCE = 1;public static final GroupResourceType AWS_ELB_LOAD_BALANCER
A group of Amazon ELB load balancers.
AWS_ELB_LOAD_BALANCER = 2;public static final GroupResourceType UNRECOGNIZED
public static final int RESOURCE_TYPE_UNSPECIFIED_VALUE
Default value (not valid).
RESOURCE_TYPE_UNSPECIFIED = 0;public static final int INSTANCE_VALUE
A group of instances from Google Cloud Platform (GCP) or Amazon Web Services (AWS).
INSTANCE = 1;public static final int AWS_ELB_LOAD_BALANCER_VALUE
A group of Amazon ELB load balancers.
AWS_ELB_LOAD_BALANCER = 2;public static GroupResourceType[] values()
for (GroupResourceType c : GroupResourceType.values()) System.out.println(c);
public static GroupResourceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static GroupResourceType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static GroupResourceType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<GroupResourceType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static GroupResourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.