public static enum AllocationReservationSharingPolicy.ServiceShareType extends Enum<AllocationReservationSharingPolicy.ServiceShareType> implements com.google.protobuf.ProtocolMessageEnum
Sharing config for all Google Cloud services.Protobuf enum
google.cloud.compute.v1.AllocationReservationSharingPolicy.ServiceShareType| Enum Constant and Description |
|---|
ALLOW_ALL
Allow all Google Cloud managed services to share reservations.
|
DISALLOW_ALL
[Default] Disallow sharing with all Google Cloud services.
|
SERVICE_SHARE_TYPE_UNSPECIFIED
SERVICE_SHARE_TYPE_UNSPECIFIED = 279057148; |
UNDEFINED_SERVICE_SHARE_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_ALL_VALUE
Allow all Google Cloud managed services to share reservations.
|
static int |
DISALLOW_ALL_VALUE
[Default] Disallow sharing with all Google Cloud services.
|
static int |
SERVICE_SHARE_TYPE_UNSPECIFIED_VALUE
SERVICE_SHARE_TYPE_UNSPECIFIED = 279057148; |
static int |
UNDEFINED_SERVICE_SHARE_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static AllocationReservationSharingPolicy.ServiceShareType |
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<AllocationReservationSharingPolicy.ServiceShareType> |
internalGetValueMap() |
static AllocationReservationSharingPolicy.ServiceShareType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AllocationReservationSharingPolicy.ServiceShareType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AllocationReservationSharingPolicy.ServiceShareType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllocationReservationSharingPolicy.ServiceShareType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllocationReservationSharingPolicy.ServiceShareType UNDEFINED_SERVICE_SHARE_TYPE
A value indicating that the enum field is not set.
UNDEFINED_SERVICE_SHARE_TYPE = 0;public static final AllocationReservationSharingPolicy.ServiceShareType ALLOW_ALL
Allow all Google Cloud managed services to share reservations.
ALLOW_ALL = 475536235;public static final AllocationReservationSharingPolicy.ServiceShareType DISALLOW_ALL
[Default] Disallow sharing with all Google Cloud services.
DISALLOW_ALL = 277786301;public static final AllocationReservationSharingPolicy.ServiceShareType SERVICE_SHARE_TYPE_UNSPECIFIED
SERVICE_SHARE_TYPE_UNSPECIFIED = 279057148;public static final AllocationReservationSharingPolicy.ServiceShareType UNRECOGNIZED
public static final int UNDEFINED_SERVICE_SHARE_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_SERVICE_SHARE_TYPE = 0;public static final int ALLOW_ALL_VALUE
Allow all Google Cloud managed services to share reservations.
ALLOW_ALL = 475536235;public static final int DISALLOW_ALL_VALUE
[Default] Disallow sharing with all Google Cloud services.
DISALLOW_ALL = 277786301;public static final int SERVICE_SHARE_TYPE_UNSPECIFIED_VALUE
SERVICE_SHARE_TYPE_UNSPECIFIED = 279057148;public static AllocationReservationSharingPolicy.ServiceShareType[] values()
for (AllocationReservationSharingPolicy.ServiceShareType c : AllocationReservationSharingPolicy.ServiceShareType.values()) System.out.println(c);
public static AllocationReservationSharingPolicy.ServiceShareType 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 AllocationReservationSharingPolicy.ServiceShareType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AllocationReservationSharingPolicy.ServiceShareType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AllocationReservationSharingPolicy.ServiceShareType> 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 AllocationReservationSharingPolicy.ServiceShareType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.