Package com.google.devtools.build.v1
Enum BuildEvent.EventCase
- java.lang.Object
-
- java.lang.Enum<BuildEvent.EventCase>
-
- com.google.devtools.build.v1.BuildEvent.EventCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<BuildEvent.EventCase>
- Enclosing class:
- BuildEvent
public static enum BuildEvent.EventCase extends java.lang.Enum<BuildEvent.EventCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAZEL_EVENTBUILD_ENQUEUEDBUILD_EXECUTION_EVENTBUILD_FINISHEDCOMPONENT_STREAM_FINISHEDCONSOLE_OUTPUTEVENT_NOT_SETINVOCATION_ATTEMPT_FINISHEDINVOCATION_ATTEMPT_STARTEDSOURCE_FETCH_EVENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BuildEvent.EventCaseforNumber(int value)intgetNumber()static BuildEvent.EventCasevalueOf(int value)Deprecated.static BuildEvent.EventCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BuildEvent.EventCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVOCATION_ATTEMPT_STARTED
public static final BuildEvent.EventCase INVOCATION_ATTEMPT_STARTED
-
INVOCATION_ATTEMPT_FINISHED
public static final BuildEvent.EventCase INVOCATION_ATTEMPT_FINISHED
-
BUILD_ENQUEUED
public static final BuildEvent.EventCase BUILD_ENQUEUED
-
BUILD_FINISHED
public static final BuildEvent.EventCase BUILD_FINISHED
-
CONSOLE_OUTPUT
public static final BuildEvent.EventCase CONSOLE_OUTPUT
-
COMPONENT_STREAM_FINISHED
public static final BuildEvent.EventCase COMPONENT_STREAM_FINISHED
-
BAZEL_EVENT
public static final BuildEvent.EventCase BAZEL_EVENT
-
BUILD_EXECUTION_EVENT
public static final BuildEvent.EventCase BUILD_EXECUTION_EVENT
-
SOURCE_FETCH_EVENT
public static final BuildEvent.EventCase SOURCE_FETCH_EVENT
-
EVENT_NOT_SET
public static final BuildEvent.EventCase EVENT_NOT_SET
-
-
Method Detail
-
values
public static BuildEvent.EventCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BuildEvent.EventCase c : BuildEvent.EventCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildEvent.EventCase valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
@Deprecated public static BuildEvent.EventCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static BuildEvent.EventCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-