Class BuildSuccess

  • 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.BuildSuccessOrBuilder

    
    public final class BuildSuccess
    extends GeneratedMessageV3 implements BuildSuccessOrBuilder
                        
    BuildSuccess should be sent when a build succeeds.
    
    FTL may ignore this event if it does not match FTL's current build context and state.
    
    Protobuf type xyz.block.ftl.language.v1.BuildSuccess
    • Constructor Detail

    • 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.

      • hasModule

         boolean hasModule()
        Module schema for the built module
        
        .xyz.block.ftl.schema.v1.Module module = 3;
        Returns:

        Whether the module field is set.

      • getModule

         Module getModule()
        Module schema for the built module
        
        .xyz.block.ftl.schema.v1.Module module = 3;
        Returns:

        The module.

      • getDeployList

         ProtocolStringList getDeployList()
        Paths for files/directories to be deployed
        
        repeated string deploy = 4;
        Returns:

        A list containing the deploy.

      • getDeployCount

         int getDeployCount()
        Paths for files/directories to be deployed
        
        repeated string deploy = 4;
        Returns:

        The count of deploy.

      • getDeploy

         String getDeploy(int index)
        Paths for files/directories to be deployed
        
        repeated string deploy = 4;
        Parameters:
        index - The index of the element to return.
        Returns:

        The deploy at the given index.

      • getDeployBytes

         ByteString getDeployBytes(int index)
        Paths for files/directories to be deployed
        
        repeated string deploy = 4;
        Parameters:
        index - The index of the value to return.
        Returns:

        The bytes of the deploy at the given index.

      • getDockerImage

         String getDockerImage()
        Name of the docker image to use for the runner
        
        string docker_image = 5;
        Returns:

        The dockerImage.

      • getDockerImageBytes

         ByteString getDockerImageBytes()
        Name of the docker image to use for the runner
        
        string docker_image = 5;
        Returns:

        The bytes for dockerImage.

      • hasErrors

         boolean hasErrors()
        Errors contains any errors that occurred during the build
        No errors can have a level of ERROR, instead a BuildFailure should be sent
        Instead this is useful for INFO and WARN level errors.
        
        .xyz.block.ftl.language.v1.ErrorList errors = 6;
        Returns:

        Whether the errors field is set.

      • getErrors

         ErrorList getErrors()
        Errors contains any errors that occurred during the build
        No errors can have a level of ERROR, instead a BuildFailure should be sent
        Instead this is useful for INFO and WARN level errors.
        
        .xyz.block.ftl.language.v1.ErrorList errors = 6;
        Returns:

        The errors.

      • getErrorsOrBuilder

         ErrorListOrBuilder getErrorsOrBuilder()
        Errors contains any errors that occurred during the build
        No errors can have a level of ERROR, instead a BuildFailure should be sent
        Instead this is useful for INFO and WARN level errors.
        
        .xyz.block.ftl.language.v1.ErrorList errors = 6;
      • hasDevEndpoint

         boolean hasDevEndpoint()
        Dev mode endpoint URI. If this is set then rather than trying to deploy the module, FTL will start a runner that
        connects to this endpoint.
        
        optional string dev_endpoint = 7;
        Returns:

        Whether the devEndpoint field is set.

      • getDevEndpoint

         String getDevEndpoint()
        Dev mode endpoint URI. If this is set then rather than trying to deploy the module, FTL will start a runner that
        connects to this endpoint.
        
        optional string dev_endpoint = 7;
        Returns:

        The devEndpoint.

      • getDevEndpointBytes

         ByteString getDevEndpointBytes()
        Dev mode endpoint URI. If this is set then rather than trying to deploy the module, FTL will start a runner that
        connects to this endpoint.
        
        optional string dev_endpoint = 7;
        Returns:

        The bytes for devEndpoint.

      • hasDebugPort

         boolean hasDebugPort()
        Dev mode debug port
        
        optional int32 debug_port = 8;
        Returns:

        Whether the debugPort field is set.

      • getDebugPort

         int getDebugPort()
        Dev mode debug port
        
        optional int32 debug_port = 8;
        Returns:

        The debugPort.

      • hasDevHotReloadEndpoint

         boolean hasDevHotReloadEndpoint()
        Dev mode hot reload endpoint, this is used to allow the runner to communicate info back to the running process
        
        optional string dev_hot_reload_endpoint = 9;
        Returns:

        Whether the devHotReloadEndpoint field is set.

      • getDevHotReloadEndpoint

         String getDevHotReloadEndpoint()
        Dev mode hot reload endpoint, this is used to allow the runner to communicate info back to the running process
        
        optional string dev_hot_reload_endpoint = 9;
        Returns:

        The devHotReloadEndpoint.

      • getDevHotReloadEndpointBytes

         ByteString getDevHotReloadEndpointBytes()
        Dev mode hot reload endpoint, this is used to allow the runner to communicate info back to the running process
        
        optional string dev_hot_reload_endpoint = 9;
        Returns:

        The bytes for devHotReloadEndpoint.

      • hasDevHotReloadVersion

         boolean hasDevHotReloadVersion()

        optional int64 dev_hot_reload_version = 10;

        Returns:

        Whether the devHotReloadVersion field is set.

      • getDevHotReloadVersion

         long getDevHotReloadVersion()

        optional int64 dev_hot_reload_version = 10;

        Returns:

        The devHotReloadVersion.

      • writeTo

         void writeTo(CodedOutputStream output)
      • parseFrom

         static BuildSuccess parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)