java.io.Serializable, java.lang.Comparable<ResourceRef.SharingScope>, java.lang.constant.Constablepublic static enum ResourceRef.SharingScope extends java.lang.Enum<ResourceRef.SharingScope>
| Enum Constant | Description |
|---|---|
SHAREABLE |
|
UNSHAREABLE |
|
UNSPECIFIED |
| Modifier and Type | Method | Description |
|---|---|---|
static ResourceRef.SharingScope |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ResourceRef.SharingScope[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceRef.SharingScope UNSPECIFIED
public static final ResourceRef.SharingScope SHAREABLE
public static final ResourceRef.SharingScope UNSHAREABLE
public static ResourceRef.SharingScope[] values()
for (ResourceRef.SharingScope c : ResourceRef.SharingScope.values()) System.out.println(c);
public static ResourceRef.SharingScope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null