Package com.google.devtools.build.v1
Class BuildStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildStatus.Builder>
com.google.devtools.build.v1.BuildStatus.Builder
- All Implemented Interfaces:
BuildStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildStatus
public static final class BuildStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildStatus.Builder>
implements BuildStatusOrBuilder
Status used for both invocation attempt and overall build completion.Protobuf type
google.devtools.build.v1.BuildStatus-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Build tool exit code.Fine-grained diagnostic information to complement the status.Human-readable error message.Final invocation ID of the build, if there was one.The end result.com.google.protobuf.Int32ValueBuild tool exit code.com.google.protobuf.Int32Value.BuilderBuild tool exit code.com.google.protobuf.Int32ValueOrBuilderBuild tool exit code.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.AnyFine-grained diagnostic information to complement the status.com.google.protobuf.Any.BuilderFine-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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeBuildToolExitCode(com.google.protobuf.Int32Value value) Build tool exit code.mergeDetails(com.google.protobuf.Any value) Fine-grained diagnostic information to complement the status.mergeFrom(BuildStatus other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setBuildToolExitCode(com.google.protobuf.Int32Value value) Build tool exit code.setBuildToolExitCode(com.google.protobuf.Int32Value.Builder builderForValue) Build tool exit code.setDetails(com.google.protobuf.Any value) Fine-grained diagnostic information to complement the status.setDetails(com.google.protobuf.Any.Builder builderForValue) Fine-grained diagnostic information to complement the status.setErrorMessage(String value) Human-readable error message.setErrorMessageBytes(com.google.protobuf.ByteString value) Human-readable error message.setFinalInvocationId(String value) Final invocation ID of the build, if there was one.setFinalInvocationIdBytes(com.google.protobuf.ByteString value) Final invocation ID of the build, if there was one.setResult(BuildStatus.Result value) The end result.setResultValue(int value) The end result.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<BuildStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BuildStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BuildStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildStatus.Builder>
-
mergeFrom
public BuildStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildStatus.Builder>- Throws:
IOException
-
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.
-
setResultValue
The end result.
.google.devtools.build.v1.BuildStatus.Result result = 1;- Parameters:
value- The enum numeric value on the wire for result to set.- Returns:
- This builder for chaining.
-
getResult
The end result.
.google.devtools.build.v1.BuildStatus.Result result = 1;- Specified by:
getResultin interfaceBuildStatusOrBuilder- Returns:
- The result.
-
setResult
The end result.
.google.devtools.build.v1.BuildStatus.Result result = 1;- Parameters:
value- The result to set.- Returns:
- This builder for chaining.
-
clearResult
The end result.
.google.devtools.build.v1.BuildStatus.Result result = 1;- Returns:
- This builder for chaining.
-
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.
-
setFinalInvocationId
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;- Parameters:
value- The finalInvocationId to set.- Returns:
- This builder for chaining.
-
clearFinalInvocationId
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:
- This builder for chaining.
-
setFinalInvocationIdBytes
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;- Parameters:
value- The bytes for finalInvocationId to set.- Returns:
- This builder for chaining.
-
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.
-
setBuildToolExitCode
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; -
setBuildToolExitCode
public BuildStatus.Builder setBuildToolExitCode(com.google.protobuf.Int32Value.Builder builderForValue) 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; -
mergeBuildToolExitCode
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; -
clearBuildToolExitCode
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; -
getBuildToolExitCodeBuilder
public com.google.protobuf.Int32Value.Builder getBuildToolExitCodeBuilder()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; -
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.
-
setErrorMessage
Human-readable error message. Do not use for programmatic purposes.
string error_message = 5;- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
clearErrorMessage
Human-readable error message. Do not use for programmatic purposes.
string error_message = 5;- Returns:
- This builder for chaining.
-
setErrorMessageBytes
Human-readable error message. Do not use for programmatic purposes.
string error_message = 5;- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-
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.
-
setDetails
Fine-grained diagnostic information to complement the status.
.google.protobuf.Any details = 2; -
setDetails
Fine-grained diagnostic information to complement the status.
.google.protobuf.Any details = 2; -
mergeDetails
Fine-grained diagnostic information to complement the status.
.google.protobuf.Any details = 2; -
clearDetails
Fine-grained diagnostic information to complement the status.
.google.protobuf.Any details = 2; -
getDetailsBuilder
public com.google.protobuf.Any.Builder getDetailsBuilder()Fine-grained diagnostic information to complement the status.
.google.protobuf.Any details = 2; -
getDetailsOrBuilder
public com.google.protobuf.AnyOrBuilder getDetailsOrBuilder()Fine-grained diagnostic information to complement the status.
.google.protobuf.Any details = 2;- Specified by:
getDetailsOrBuilderin interfaceBuildStatusOrBuilder
-