Class BuildSuccess.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.v1.language.BuildSuccessOrBuilder

    
    public final class BuildSuccess.Builder
    extends GeneratedMessageV3.Builder<BuilderT> 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.v1.language.BuildSuccess
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Descriptors.Descriptor getDescriptor()
      BuildSuccess.Builder clear()
      Descriptors.Descriptor getDescriptorForType()
      BuildSuccess getDefaultInstanceForType()
      BuildSuccess build()
      BuildSuccess buildPartial()
      BuildSuccess.Builder clone()
      BuildSuccess.Builder setField(Descriptors.FieldDescriptor field, Object value)
      BuildSuccess.Builder clearField(Descriptors.FieldDescriptor field)
      BuildSuccess.Builder clearOneof(Descriptors.OneofDescriptor oneof)
      BuildSuccess.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
      BuildSuccess.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
      BuildSuccess.Builder mergeFrom(Message other)
      BuildSuccess.Builder mergeFrom(BuildSuccess other)
      final boolean isInitialized()
      BuildSuccess.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
      String getContextId()
      The id of build context used while building.
      
      string context_id = 1;
      ByteString getContextIdBytes()
      The id of build context used while building.
      
      string context_id = 1;
      BuildSuccess.Builder setContextId(String value)
      The id of build context used while building.
      
      string context_id = 1;
      BuildSuccess.Builder clearContextId()
      The id of build context used while building.
      
      string context_id = 1;
      BuildSuccess.Builder setContextIdBytes(ByteString value)
      The id of build context used while building.
      
      string context_id = 1;
      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;
      BuildSuccess.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;
      BuildSuccess.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;
      boolean hasModule()
      Module schema for the built module
      
      .xyz.block.ftl.v1.schema.Module module = 3;
      Module getModule()
      Module schema for the built module
      
      .xyz.block.ftl.v1.schema.Module module = 3;
      BuildSuccess.Builder setModule(Module value)
      Module schema for the built module
      
      .xyz.block.ftl.v1.schema.Module module = 3;
      BuildSuccess.Builder setModule(Module.Builder builderForValue)
      Module schema for the built module
      
      .xyz.block.ftl.v1.schema.Module module = 3;
      BuildSuccess.Builder mergeModule(Module value)
      Module schema for the built module
      
      .xyz.block.ftl.v1.schema.Module module = 3;
      BuildSuccess.Builder clearModule()
      Module schema for the built module
      
      .xyz.block.ftl.v1.schema.Module module = 3;
      Module.Builder getModuleBuilder()
      Module schema for the built module
      
      .xyz.block.ftl.v1.schema.Module module = 3;
      ModuleOrBuilder getModuleOrBuilder()
      Module schema for the built module
      
      .xyz.block.ftl.v1.schema.Module module = 3;
      ProtocolStringList getDeployList()
      Paths for files/directories to be deployed
      
      repeated string deploy = 4;
      int getDeployCount()
      Paths for files/directories to be deployed
      
      repeated string deploy = 4;
      String getDeploy(int index)
      Paths for files/directories to be deployed
      
      repeated string deploy = 4;
      ByteString getDeployBytes(int index)
      Paths for files/directories to be deployed
      
      repeated string deploy = 4;
      BuildSuccess.Builder setDeploy(int index, String value)
      Paths for files/directories to be deployed
      
      repeated string deploy = 4;
      BuildSuccess.Builder addDeploy(String value)
      Paths for files/directories to be deployed
      
      repeated string deploy = 4;
      BuildSuccess.Builder addAllDeploy(Iterable<String> values)
      Paths for files/directories to be deployed
      
      repeated string deploy = 4;
      BuildSuccess.Builder clearDeploy()
      Paths for files/directories to be deployed
      
      repeated string deploy = 4;
      BuildSuccess.Builder addDeployBytes(ByteString value)
      Paths for files/directories to be deployed
      
      repeated string deploy = 4;
      String getDockerImage()
      Name of the docker image to use for the runner
      
      string docker_image = 5;
      ByteString getDockerImageBytes()
      Name of the docker image to use for the runner
      
      string docker_image = 5;
      BuildSuccess.Builder setDockerImage(String value)
      Name of the docker image to use for the runner
      
      string docker_image = 5;
      BuildSuccess.Builder clearDockerImage()
      Name of the docker image to use for the runner
      
      string docker_image = 5;
      BuildSuccess.Builder setDockerImageBytes(ByteString value)
      Name of the docker image to use for the runner
      
      string docker_image = 5;
      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.v1.language.ErrorList errors = 6;
      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.v1.language.ErrorList errors = 6;
      BuildSuccess.Builder setErrors(ErrorList value)
      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.v1.language.ErrorList errors = 6;
      BuildSuccess.Builder setErrors(ErrorList.Builder builderForValue)
      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.v1.language.ErrorList errors = 6;
      BuildSuccess.Builder mergeErrors(ErrorList value)
      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.v1.language.ErrorList errors = 6;
      BuildSuccess.Builder clearErrors()
      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.v1.language.ErrorList errors = 6;
      ErrorList.Builder getErrorsBuilder()
      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.v1.language.ErrorList errors = 6;
      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.v1.language.ErrorList errors = 6;
      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;
      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;
      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;
      BuildSuccess.Builder setDevEndpoint(String value)
      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;
      BuildSuccess.Builder clearDevEndpoint()
      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;
      BuildSuccess.Builder setDevEndpointBytes(ByteString value)
      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;
      final BuildSuccess.Builder setUnknownFields(UnknownFieldSet unknownFields)
      final BuildSuccess.Builder mergeUnknownFields(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
    • 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.

      • setContextId

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

      • setContextIdBytes

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

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

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

      • hasModule

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

        Whether the module field is set.

      • getModule

         Module getModule()
        Module schema for the built module
        
        .xyz.block.ftl.v1.schema.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.

      • setDeploy

         BuildSuccess.Builder setDeploy(int index, String value)
        Paths for files/directories to be deployed
        
        repeated string deploy = 4;
        Parameters:
        index - The index to set the value at.
        value - The deploy to set.
        Returns:

        This builder for chaining.

      • addDeploy

         BuildSuccess.Builder addDeploy(String value)
        Paths for files/directories to be deployed
        
        repeated string deploy = 4;
        Parameters:
        value - The deploy to add.
        Returns:

        This builder for chaining.

      • clearDeploy

         BuildSuccess.Builder clearDeploy()
        Paths for files/directories to be deployed
        
        repeated string deploy = 4;
        Returns:

        This builder for chaining.

      • addDeployBytes

         BuildSuccess.Builder addDeployBytes(ByteString value)
        Paths for files/directories to be deployed
        
        repeated string deploy = 4;
        Parameters:
        value - The bytes of the deploy to add.
        Returns:

        This builder for chaining.

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

      • setDockerImage

         BuildSuccess.Builder setDockerImage(String value)
        Name of the docker image to use for the runner
        
        string docker_image = 5;
        Parameters:
        value - The dockerImage to set.
        Returns:

        This builder for chaining.

      • setDockerImageBytes

         BuildSuccess.Builder setDockerImageBytes(ByteString value)
        Name of the docker image to use for the runner
        
        string docker_image = 5;
        Parameters:
        value - The bytes for dockerImage to set.
        Returns:

        This builder for chaining.

      • 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.v1.language.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.v1.language.ErrorList errors = 6;
        Returns:

        The errors.

      • setErrors

         BuildSuccess.Builder setErrors(ErrorList value)
        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.v1.language.ErrorList errors = 6;
      • setErrors

         BuildSuccess.Builder setErrors(ErrorList.Builder builderForValue)
        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.v1.language.ErrorList errors = 6;
      • mergeErrors

         BuildSuccess.Builder mergeErrors(ErrorList value)
        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.v1.language.ErrorList errors = 6;
      • clearErrors

         BuildSuccess.Builder clearErrors()
        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.v1.language.ErrorList errors = 6;
      • getErrorsBuilder

         ErrorList.Builder getErrorsBuilder()
        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.v1.language.ErrorList errors = 6;
      • 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.v1.language.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.

      • setDevEndpoint

         BuildSuccess.Builder setDevEndpoint(String value)
        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;
        Parameters:
        value - The devEndpoint to set.
        Returns:

        This builder for chaining.

      • clearDevEndpoint

         BuildSuccess.Builder clearDevEndpoint()
        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:

        This builder for chaining.

      • setDevEndpointBytes

         BuildSuccess.Builder setDevEndpointBytes(ByteString value)
        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;
        Parameters:
        value - The bytes for devEndpoint to set.
        Returns:

        This builder for chaining.