public static enum ShareSettings.ShareType extends Enum<ShareSettings.ShareType> implements com.google.protobuf.ProtocolMessageEnum
Type of sharing for this shared-reservationProtobuf enum
google.cloud.compute.v1.ShareSettings.ShareType| Enum Constant and Description |
|---|
LOCAL
Default value.
|
ORGANIZATION
Shared-reservation is open to entire Organization
|
SHARE_TYPE_UNSPECIFIED
Default value.
|
SPECIFIC_PROJECTS
Shared-reservation is open to specific projects
|
UNDEFINED_SHARE_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LOCAL_VALUE
Default value.
|
static int |
ORGANIZATION_VALUE
Shared-reservation is open to entire Organization
|
static int |
SHARE_TYPE_UNSPECIFIED_VALUE
Default value.
|
static int |
SPECIFIC_PROJECTS_VALUE
Shared-reservation is open to specific projects
|
static int |
UNDEFINED_SHARE_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static ShareSettings.ShareType |
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<ShareSettings.ShareType> |
internalGetValueMap() |
static ShareSettings.ShareType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ShareSettings.ShareType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ShareSettings.ShareType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShareSettings.ShareType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShareSettings.ShareType UNDEFINED_SHARE_TYPE
A value indicating that the enum field is not set.
UNDEFINED_SHARE_TYPE = 0;public static final ShareSettings.ShareType LOCAL
Default value.
LOCAL = 72607563;public static final ShareSettings.ShareType ORGANIZATION
Shared-reservation is open to entire Organization
ORGANIZATION = 274978099;public static final ShareSettings.ShareType SHARE_TYPE_UNSPECIFIED
Default value. This value is unused.
SHARE_TYPE_UNSPECIFIED = 494771730;public static final ShareSettings.ShareType SPECIFIC_PROJECTS
Shared-reservation is open to specific projects
SPECIFIC_PROJECTS = 347838695;public static final ShareSettings.ShareType UNRECOGNIZED
public static final int UNDEFINED_SHARE_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_SHARE_TYPE = 0;public static final int LOCAL_VALUE
Default value.
LOCAL = 72607563;public static final int ORGANIZATION_VALUE
Shared-reservation is open to entire Organization
ORGANIZATION = 274978099;public static final int SHARE_TYPE_UNSPECIFIED_VALUE
Default value. This value is unused.
SHARE_TYPE_UNSPECIFIED = 494771730;public static final int SPECIFIC_PROJECTS_VALUE
Shared-reservation is open to specific projects
SPECIFIC_PROJECTS = 347838695;public static ShareSettings.ShareType[] values()
for (ShareSettings.ShareType c : ShareSettings.ShareType.values()) System.out.println(c);
public static ShareSettings.ShareType 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 ShareSettings.ShareType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ShareSettings.ShareType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ShareSettings.ShareType> 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 ShareSettings.ShareType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.