public static enum ArtifactApi.PutArtifactRequest.ContentCase extends Enum<ArtifactApi.PutArtifactRequest.ContentCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
CONTENT_NOT_SET |
DATA |
METADATA |
| Modifier and Type | Method and Description |
|---|---|
static ArtifactApi.PutArtifactRequest.ContentCase |
forNumber(int value) |
int |
getNumber() |
static ArtifactApi.PutArtifactRequest.ContentCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ArtifactApi.PutArtifactRequest.ContentCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArtifactApi.PutArtifactRequest.ContentCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtifactApi.PutArtifactRequest.ContentCase METADATA
public static final ArtifactApi.PutArtifactRequest.ContentCase DATA
public static final ArtifactApi.PutArtifactRequest.ContentCase CONTENT_NOT_SET
public static ArtifactApi.PutArtifactRequest.ContentCase[] values()
for (ArtifactApi.PutArtifactRequest.ContentCase c : ArtifactApi.PutArtifactRequest.ContentCase.values()) System.out.println(c);
public static ArtifactApi.PutArtifactRequest.ContentCase 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 null@Deprecated public static ArtifactApi.PutArtifactRequest.ContentCase valueOf(int value)
forNumber(int) instead.public static ArtifactApi.PutArtifactRequest.ContentCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.