Package com.google.devtools.build.v1
Interface BuildStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BuildStatus,BuildStatus.Builder
public interface BuildStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Int32ValueBuild tool exit code.com.google.protobuf.Int32ValueOrBuilderBuild tool exit code.com.google.protobuf.AnyFine-grained diagnostic information to complement the status.com.google.protobuf.AnyOrBuilderFine-grained diagnostic information to complement the status.Human-readable error message.com.google.protobuf.ByteStringHuman-readable error message.Final invocation ID of the build, if there was one.com.google.protobuf.ByteStringFinal invocation ID of the build, if there was one.The end result.intThe end result.booleanBuild tool exit code.booleanFine-grained diagnostic information to complement the status.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResultValue
int getResultValue()The end result.
.google.devtools.build.v1.BuildStatus.Result result = 1;- Returns:
- The enum numeric value on the wire for result.
-
getResult
BuildStatus.Result getResult()The end result.
.google.devtools.build.v1.BuildStatus.Result result = 1;- Returns:
- The result.
-
getFinalInvocationId
String getFinalInvocationId()Final invocation ID of the build, if there was one. This field is only set on a status in BuildFinished event.
string final_invocation_id = 3;- Returns:
- The finalInvocationId.
-
getFinalInvocationIdBytes
com.google.protobuf.ByteString getFinalInvocationIdBytes()Final invocation ID of the build, if there was one. This field is only set on a status in BuildFinished event.
string final_invocation_id = 3;- Returns:
- The bytes for finalInvocationId.
-
hasBuildToolExitCode
boolean hasBuildToolExitCode()Build tool exit code. Integer value returned by the executed build tool. Might not be available in some cases, e.g., a build timeout.
.google.protobuf.Int32Value build_tool_exit_code = 4;- Returns:
- Whether the buildToolExitCode field is set.
-
getBuildToolExitCode
com.google.protobuf.Int32Value getBuildToolExitCode()Build tool exit code. Integer value returned by the executed build tool. Might not be available in some cases, e.g., a build timeout.
.google.protobuf.Int32Value build_tool_exit_code = 4;- Returns:
- The buildToolExitCode.
-
getBuildToolExitCodeOrBuilder
com.google.protobuf.Int32ValueOrBuilder getBuildToolExitCodeOrBuilder()Build tool exit code. Integer value returned by the executed build tool. Might not be available in some cases, e.g., a build timeout.
.google.protobuf.Int32Value build_tool_exit_code = 4; -
getErrorMessage
String getErrorMessage()Human-readable error message. Do not use for programmatic purposes.
string error_message = 5;- Returns:
- The errorMessage.
-
getErrorMessageBytes
com.google.protobuf.ByteString getErrorMessageBytes()Human-readable error message. Do not use for programmatic purposes.
string error_message = 5;- Returns:
- The bytes for errorMessage.
-
hasDetails
boolean hasDetails()Fine-grained diagnostic information to complement the status.
.google.protobuf.Any details = 2;- Returns:
- Whether the details field is set.
-
getDetails
com.google.protobuf.Any getDetails()Fine-grained diagnostic information to complement the status.
.google.protobuf.Any details = 2;- Returns:
- The details.
-
getDetailsOrBuilder
com.google.protobuf.AnyOrBuilder getDetailsOrBuilder()Fine-grained diagnostic information to complement the status.
.google.protobuf.Any details = 2;
-