public static enum GetSubnetworkRequest.Views extends Enum<GetSubnetworkRequest.Views> implements com.google.protobuf.ProtocolMessageEnum
Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.Protobuf enum
google.cloud.compute.v1.GetSubnetworkRequest.Views| Enum Constant and Description |
|---|
DEFAULT
DEFAULT = 115302945; |
UNDEFINED_VIEWS
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
WITH_UTILIZATION
Utilization data is included in the response.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_VALUE
DEFAULT = 115302945; |
static int |
UNDEFINED_VIEWS_VALUE
A value indicating that the enum field is not set.
|
static int |
WITH_UTILIZATION_VALUE
Utilization data is included in the response.
|
| Modifier and Type | Method and Description |
|---|---|
static GetSubnetworkRequest.Views |
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<GetSubnetworkRequest.Views> |
internalGetValueMap() |
static GetSubnetworkRequest.Views |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GetSubnetworkRequest.Views |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GetSubnetworkRequest.Views |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GetSubnetworkRequest.Views[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetSubnetworkRequest.Views UNDEFINED_VIEWS
A value indicating that the enum field is not set.
UNDEFINED_VIEWS = 0;public static final GetSubnetworkRequest.Views DEFAULT
DEFAULT = 115302945;public static final GetSubnetworkRequest.Views WITH_UTILIZATION
Utilization data is included in the response.
WITH_UTILIZATION = 504090633;public static final GetSubnetworkRequest.Views UNRECOGNIZED
public static final int UNDEFINED_VIEWS_VALUE
A value indicating that the enum field is not set.
UNDEFINED_VIEWS = 0;public static final int DEFAULT_VALUE
DEFAULT = 115302945;public static final int WITH_UTILIZATION_VALUE
Utilization data is included in the response.
WITH_UTILIZATION = 504090633;public static GetSubnetworkRequest.Views[] values()
for (GetSubnetworkRequest.Views c : GetSubnetworkRequest.Views.values()) System.out.println(c);
public static GetSubnetworkRequest.Views 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 GetSubnetworkRequest.Views valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static GetSubnetworkRequest.Views forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<GetSubnetworkRequest.Views> 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 GetSubnetworkRequest.Views valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.