Package xyz.block.ftl.language.v1
Class BuildFailure.Builder
-
- All Implemented Interfaces:
-
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,xyz.block.ftl.language.v1.BuildFailureOrBuilder
public final class BuildFailure.Builder extends GeneratedMessageV3.Builder<BuilderT> implements BuildFailureOrBuilder
Protobuf typeBuildFailure should be sent when a build fails. FTL may ignore this event if it does not match FTL's current build context and state.xyz.block.ftl.language.v1.BuildFailure
-
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()BuildFailure.Builderclear()Descriptors.DescriptorgetDescriptorForType()BuildFailuregetDefaultInstanceForType()BuildFailurebuild()BuildFailurebuildPartial()BuildFailure.Builderclone()BuildFailure.BuildersetField(Descriptors.FieldDescriptor field, Object value)BuildFailure.BuilderclearField(Descriptors.FieldDescriptor field)BuildFailure.BuilderclearOneof(Descriptors.OneofDescriptor oneof)BuildFailure.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)BuildFailure.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, Object value)BuildFailure.BuildermergeFrom(Message other)BuildFailure.BuildermergeFrom(BuildFailure other)final booleanisInitialized()BuildFailure.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)StringgetContextId()The id of build context used while building.string context_id = 1;ByteStringgetContextIdBytes()The id of build context used while building.string context_id = 1;BuildFailure.BuildersetContextId(String value)The id of build context used while building.string context_id = 1;BuildFailure.BuilderclearContextId()The id of build context used while building.string context_id = 1;BuildFailure.BuildersetContextIdBytes(ByteString value)The id of build context used while building.string context_id = 1;booleangetIsAutomaticRebuild()Indicates whether the build was automatically started by the plugin, rather than due to a Build rpc call.bool is_automatic_rebuild = 2;BuildFailure.BuildersetIsAutomaticRebuild(boolean value)Indicates whether the build was automatically started by the plugin, rather than due to a Build rpc call.bool is_automatic_rebuild = 2;BuildFailure.BuilderclearIsAutomaticRebuild()Indicates whether the build was automatically started by the plugin, rather than due to a Build rpc call.bool is_automatic_rebuild = 2;booleanhasErrors()Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;ErrorListgetErrors()Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;BuildFailure.BuildersetErrors(ErrorList value)Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;BuildFailure.BuildersetErrors(ErrorList.Builder builderForValue)Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;BuildFailure.BuildermergeErrors(ErrorList value)Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;BuildFailure.BuilderclearErrors()Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;ErrorList.BuildergetErrorsBuilder()Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;ErrorListOrBuildergetErrorsOrBuilder()Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;booleangetInvalidateDependencies()Indicates the plugin determined that the dependencies in the BuildContext are out of date. If a Build stream is being kept open for automatic rebuilds, FTL will call GetDependencies, followed by BuildContextUpdated.bool invalidate_dependencies = 4;BuildFailure.BuildersetInvalidateDependencies(boolean value)Indicates the plugin determined that the dependencies in the BuildContext are out of date. If a Build stream is being kept open for automatic rebuilds, FTL will call GetDependencies, followed by BuildContextUpdated.bool invalidate_dependencies = 4;BuildFailure.BuilderclearInvalidateDependencies()Indicates the plugin determined that the dependencies in the BuildContext are out of date. If a Build stream is being kept open for automatic rebuilds, FTL will call GetDependencies, followed by BuildContextUpdated.bool invalidate_dependencies = 4;final BuildFailure.BuildersetUnknownFields(UnknownFieldSet unknownFields)final BuildFailure.BuildermergeUnknownFields(UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField -
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
clear, clearOneof, clone, findInitializationErrors, getInitializationErrorString, mergeUnknownFields, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.Message.Builder
addRepeatedField, clear, clearField, clearOneof, clone, mergeFrom, mergeUnknownFields, setField, setRepeatedField, setUnknownFields -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
clear
BuildFailure.Builder clear()
-
getDescriptorForType
Descriptors.Descriptor getDescriptorForType()
-
getDefaultInstanceForType
BuildFailure getDefaultInstanceForType()
-
build
BuildFailure build()
-
buildPartial
BuildFailure buildPartial()
-
clone
BuildFailure.Builder clone()
-
setField
BuildFailure.Builder setField(Descriptors.FieldDescriptor field, Object value)
-
clearField
BuildFailure.Builder clearField(Descriptors.FieldDescriptor field)
-
clearOneof
BuildFailure.Builder clearOneof(Descriptors.OneofDescriptor oneof)
-
setRepeatedField
BuildFailure.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
-
addRepeatedField
BuildFailure.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
-
mergeFrom
BuildFailure.Builder mergeFrom(Message other)
-
mergeFrom
BuildFailure.Builder mergeFrom(BuildFailure other)
-
isInitialized
final boolean isInitialized()
-
mergeFrom
BuildFailure.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
getContextId
String getContextId()
The id of build context used while building.string context_id = 1;- Returns:
The contextId.
-
getContextIdBytes
ByteString getContextIdBytes()
The id of build context used while building.string context_id = 1;- Returns:
The bytes for contextId.
-
setContextId
BuildFailure.Builder setContextId(String value)
The id of build context used while building.string context_id = 1;- Parameters:
value- The contextId to set.- Returns:
This builder for chaining.
-
clearContextId
BuildFailure.Builder clearContextId()
The id of build context used while building.string context_id = 1;- Returns:
This builder for chaining.
-
setContextIdBytes
BuildFailure.Builder setContextIdBytes(ByteString value)
The id of build context used while building.string context_id = 1;- Parameters:
value- The bytes for contextId to set.- Returns:
This builder for chaining.
-
getIsAutomaticRebuild
boolean getIsAutomaticRebuild()
Indicates whether the build was automatically started by the plugin, rather than due to a Build rpc call.bool is_automatic_rebuild = 2;- Returns:
The isAutomaticRebuild.
-
setIsAutomaticRebuild
BuildFailure.Builder setIsAutomaticRebuild(boolean value)
Indicates whether the build was automatically started by the plugin, rather than due to a Build rpc call.bool is_automatic_rebuild = 2;- Parameters:
value- The isAutomaticRebuild to set.- Returns:
This builder for chaining.
-
clearIsAutomaticRebuild
BuildFailure.Builder clearIsAutomaticRebuild()
Indicates whether the build was automatically started by the plugin, rather than due to a Build rpc call.bool is_automatic_rebuild = 2;- Returns:
This builder for chaining.
-
hasErrors
boolean hasErrors()
Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;- Returns:
Whether the errors field is set.
-
getErrors
ErrorList getErrors()
Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;- Returns:
The errors.
-
setErrors
BuildFailure.Builder setErrors(ErrorList value)
Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;
-
setErrors
BuildFailure.Builder setErrors(ErrorList.Builder builderForValue)
Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;
-
mergeErrors
BuildFailure.Builder mergeErrors(ErrorList value)
Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;
-
clearErrors
BuildFailure.Builder clearErrors()
Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;
-
getErrorsBuilder
ErrorList.Builder getErrorsBuilder()
Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;
-
getErrorsOrBuilder
ErrorListOrBuilder getErrorsOrBuilder()
Errors contains any errors that occurred during the build.xyz.block.ftl.language.v1.ErrorList errors = 3;
-
getInvalidateDependencies
boolean getInvalidateDependencies()
Indicates the plugin determined that the dependencies in the BuildContext are out of date. If a Build stream is being kept open for automatic rebuilds, FTL will call GetDependencies, followed by BuildContextUpdated.bool invalidate_dependencies = 4;- Returns:
The invalidateDependencies.
-
setInvalidateDependencies
BuildFailure.Builder setInvalidateDependencies(boolean value)
Indicates the plugin determined that the dependencies in the BuildContext are out of date. If a Build stream is being kept open for automatic rebuilds, FTL will call GetDependencies, followed by BuildContextUpdated.bool invalidate_dependencies = 4;- Parameters:
value- The invalidateDependencies to set.- Returns:
This builder for chaining.
-
clearInvalidateDependencies
BuildFailure.Builder clearInvalidateDependencies()
Indicates the plugin determined that the dependencies in the BuildContext are out of date. If a Build stream is being kept open for automatic rebuilds, FTL will call GetDependencies, followed by BuildContextUpdated.bool invalidate_dependencies = 4;- Returns:
This builder for chaining.
-
setUnknownFields
final BuildFailure.Builder setUnknownFields(UnknownFieldSet unknownFields)
-
mergeUnknownFields
final BuildFailure.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
-
-
-
-