public static enum WriteObjectRequest.FirstMessageCase extends Enum<WriteObjectRequest.FirstMessageCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
FIRSTMESSAGE_NOT_SET |
UPLOAD_ID |
WRITE_OBJECT_SPEC |
Modifier and Type | Method and Description |
---|---|
static WriteObjectRequest.FirstMessageCase |
forNumber(int value) |
int |
getNumber() |
static WriteObjectRequest.FirstMessageCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WriteObjectRequest.FirstMessageCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteObjectRequest.FirstMessageCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteObjectRequest.FirstMessageCase UPLOAD_ID
public static final WriteObjectRequest.FirstMessageCase WRITE_OBJECT_SPEC
public static final WriteObjectRequest.FirstMessageCase FIRSTMESSAGE_NOT_SET
public static WriteObjectRequest.FirstMessageCase[] values()
for (WriteObjectRequest.FirstMessageCase c : WriteObjectRequest.FirstMessageCase.values()) System.out.println(c);
public static WriteObjectRequest.FirstMessageCase 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 WriteObjectRequest.FirstMessageCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static WriteObjectRequest.FirstMessageCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2023 Google LLC. All rights reserved.