Package xyz.block.ftl.language.v1
Class BuildFailure
-
- All Implemented Interfaces:
-
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,xyz.block.ftl.language.v1.BuildFailureOrBuilder
public final class BuildFailure extends GeneratedMessageV3 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBuildFailure.Builder
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
-
Field Summary
Fields Modifier and Type Field Description public final static intCONTEXT_ID_FIELD_NUMBERpublic final static intIS_AUTOMATIC_REBUILD_FIELD_NUMBERpublic final static intERRORS_FIELD_NUMBERpublic final static intINVALIDATE_DEPENDENCIES_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()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;booleangetIsAutomaticRebuild()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;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;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static BuildFailureparseFrom(ByteBuffer data)static BuildFailureparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static BuildFailureparseFrom(ByteString data)static BuildFailureparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static BuildFailureparseFrom(Array<byte> data)static BuildFailureparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static BuildFailureparseFrom(InputStream input)static BuildFailureparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static BuildFailureparseDelimitedFrom(InputStream input)static BuildFailureparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static BuildFailureparseFrom(CodedInputStream input)static BuildFailureparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)BuildFailure.BuildernewBuilderForType()static BuildFailure.BuildernewBuilder()static BuildFailure.BuildernewBuilder(BuildFailure prototype)BuildFailure.BuildertoBuilder()static BuildFailuregetDefaultInstance()static Parser<BuildFailure>parser()Parser<BuildFailure>getParserForType()BuildFailuregetDefaultInstanceForType()-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof -
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.Message
getParserForType -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType -
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()
-
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.
-
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.
-
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.
-
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.
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static BuildFailure parseFrom(ByteBuffer data)
-
parseFrom
static BuildFailure parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static BuildFailure parseFrom(ByteString data)
-
parseFrom
static BuildFailure parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static BuildFailure parseFrom(Array<byte> data)
-
parseFrom
static BuildFailure parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static BuildFailure parseFrom(InputStream input)
-
parseFrom
static BuildFailure parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static BuildFailure parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static BuildFailure parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static BuildFailure parseFrom(CodedInputStream input)
-
parseFrom
static BuildFailure parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
BuildFailure.Builder newBuilderForType()
-
newBuilder
static BuildFailure.Builder newBuilder()
-
newBuilder
static BuildFailure.Builder newBuilder(BuildFailure prototype)
-
toBuilder
BuildFailure.Builder toBuilder()
-
getDefaultInstance
static BuildFailure getDefaultInstance()
-
parser
static Parser<BuildFailure> parser()
-
getParserForType
Parser<BuildFailure> getParserForType()
-
getDefaultInstanceForType
BuildFailure getDefaultInstanceForType()
-
-
-
-