Package com.google.devtools.build.v1
Class BuildStatus
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.v1.BuildStatus
- All Implemented Interfaces:
BuildStatusOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class BuildStatus
extends com.google.protobuf.GeneratedMessage
implements BuildStatusOrBuilder
Status used for both invocation attempt and overall build completion.Protobuf type
google.devtools.build.v1.BuildStatus- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classStatus used for both invocation attempt and overall build completion.static enumThe end result of the Build.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.Int32ValueBuild tool exit code.com.google.protobuf.Int32ValueOrBuilderBuild tool exit code.static BuildStatusstatic final com.google.protobuf.Descriptors.Descriptorcom.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.com.google.protobuf.Parser<BuildStatus>The end result.intThe end result.intbooleanBuild tool exit code.booleanFine-grained diagnostic information to complement the status.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic BuildStatus.Builderstatic BuildStatus.BuildernewBuilder(BuildStatus prototype) protected BuildStatus.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BuildStatusparseDelimitedFrom(InputStream input) static BuildStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildStatusparseFrom(byte[] data) static BuildStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildStatusparseFrom(com.google.protobuf.ByteString data) static BuildStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildStatusparseFrom(com.google.protobuf.CodedInputStream input) static BuildStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildStatusparseFrom(InputStream input) static BuildStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildStatusparseFrom(ByteBuffer data) static BuildStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BuildStatus>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER- See Also:
-
FINAL_INVOCATION_ID_FIELD_NUMBER
public static final int FINAL_INVOCATION_ID_FIELD_NUMBER- See Also:
-
BUILD_TOOL_EXIT_CODE_FIELD_NUMBER
public static final int BUILD_TOOL_EXIT_CODE_FIELD_NUMBER- See Also:
-
ERROR_MESSAGE_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER- See Also:
-
DETAILS_FIELD_NUMBER
public static final int DETAILS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getResultValue
public int getResultValue()The end result.
.google.devtools.build.v1.BuildStatus.Result result = 1;- Specified by:
getResultValuein interfaceBuildStatusOrBuilder- Returns:
- The enum numeric value on the wire for result.
-
getResult
The end result.
.google.devtools.build.v1.BuildStatus.Result result = 1;- Specified by:
getResultin interfaceBuildStatusOrBuilder- Returns:
- The result.
-
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;- Specified by:
getFinalInvocationIdin interfaceBuildStatusOrBuilder- Returns:
- The finalInvocationId.
-
getFinalInvocationIdBytes
public 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;- Specified by:
getFinalInvocationIdBytesin interfaceBuildStatusOrBuilder- Returns:
- The bytes for finalInvocationId.
-
hasBuildToolExitCode
public 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;- Specified by:
hasBuildToolExitCodein interfaceBuildStatusOrBuilder- Returns:
- Whether the buildToolExitCode field is set.
-
getBuildToolExitCode
public 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;- Specified by:
getBuildToolExitCodein interfaceBuildStatusOrBuilder- Returns:
- The buildToolExitCode.
-
getBuildToolExitCodeOrBuilder
public 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;- Specified by:
getBuildToolExitCodeOrBuilderin interfaceBuildStatusOrBuilder
-
getErrorMessage
Human-readable error message. Do not use for programmatic purposes.
string error_message = 5;- Specified by:
getErrorMessagein interfaceBuildStatusOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()Human-readable error message. Do not use for programmatic purposes.
string error_message = 5;- Specified by:
getErrorMessageBytesin interfaceBuildStatusOrBuilder- Returns:
- The bytes for errorMessage.
-
hasDetails
public boolean hasDetails()Fine-grained diagnostic information to complement the status.
.google.protobuf.Any details = 2;- Specified by:
hasDetailsin interfaceBuildStatusOrBuilder- Returns:
- Whether the details field is set.
-
getDetails
public com.google.protobuf.Any getDetails()Fine-grained diagnostic information to complement the status.
.google.protobuf.Any details = 2;- Specified by:
getDetailsin interfaceBuildStatusOrBuilder- Returns:
- The details.
-
getDetailsOrBuilder
public com.google.protobuf.AnyOrBuilder getDetailsOrBuilder()Fine-grained diagnostic information to complement the status.
.google.protobuf.Any details = 2;- Specified by:
getDetailsOrBuilderin interfaceBuildStatusOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BuildStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BuildStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BuildStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BuildStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BuildStatus.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-