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
Protobuf typeBuildSuccess should be sent when a build succeeds. FTL may ignore this event if it does not match FTL's current build context and state.xyz.block.ftl.language.v1.BuildSuccess
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBuildSuccess.Builder
Protobuf typeBuildSuccess should be sent when a build succeeds. FTL may ignore this event if it does not match FTL's current build context and state.xyz.block.ftl.language.v1.BuildSuccess
-
Field Summary
Fields Modifier and Type Field Description public final static intMODULE_FIELD_NUMBERpublic final static intDEPLOY_FIELD_NUMBERpublic final static intDOCKER_IMAGE_FIELD_NUMBERpublic final static intERRORS_FIELD_NUMBERpublic final static intDEV_ENDPOINT_FIELD_NUMBERpublic final static intDEBUG_PORT_FIELD_NUMBERpublic final static intDEV_HOT_RELOAD_ENDPOINT_FIELD_NUMBERpublic final static intDEV_HOT_RELOAD_VERSION_FIELD_NUMBERpublic final static intMODIFIED_FILES_FIELD_NUMBERpublic final static intREDEPLOY_NOT_REQUIRED_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()booleanhasModule()Module schema for the built module.xyz.block.ftl.schema.v1.Module module = 1;ModulegetModule()Module schema for the built module.xyz.block.ftl.schema.v1.Module module = 1;ModuleOrBuildergetModuleOrBuilder()Module schema for the built module.xyz.block.ftl.schema.v1.Module module = 1;ProtocolStringListgetDeployList()Paths for files/directories to be deployedrepeated string deploy = 2;intgetDeployCount()Paths for files/directories to be deployedrepeated string deploy = 2;StringgetDeploy(int index)Paths for files/directories to be deployedrepeated string deploy = 2;ByteStringgetDeployBytes(int index)Paths for files/directories to be deployedrepeated string deploy = 2;StringgetDockerImage()Name of the docker image to use for the runnerstring docker_image = 3;ByteStringgetDockerImageBytes()Name of the docker image to use for the runnerstring docker_image = 3;booleanhasErrors()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 = 4;ErrorListgetErrors()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 = 4;ErrorListOrBuildergetErrorsOrBuilder()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 = 4;booleanhasDevEndpoint()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 = 5;StringgetDevEndpoint()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 = 5;ByteStringgetDevEndpointBytes()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 = 5;booleanhasDebugPort()Dev mode debug portoptional int32 debug_port = 6;intgetDebugPort()Dev mode debug portoptional int32 debug_port = 6;booleanhasDevHotReloadEndpoint()Dev mode hot reload endpoint, this is used to allow the runner to communicate info back to the running processoptional string dev_hot_reload_endpoint = 7;StringgetDevHotReloadEndpoint()Dev mode hot reload endpoint, this is used to allow the runner to communicate info back to the running processoptional string dev_hot_reload_endpoint = 7;ByteStringgetDevHotReloadEndpointBytes()Dev mode hot reload endpoint, this is used to allow the runner to communicate info back to the running processoptional string dev_hot_reload_endpoint = 7;booleanhasDevHotReloadVersion()optional int64 dev_hot_reload_version = 8;longgetDevHotReloadVersion()optional int64 dev_hot_reload_version = 8;ProtocolStringListgetModifiedFilesList()Files modified during the build, relative to the build dirrepeated string modified_files = 9;intgetModifiedFilesCount()Files modified during the build, relative to the build dirrepeated string modified_files = 9;StringgetModifiedFiles(int index)Files modified during the build, relative to the build dirrepeated string modified_files = 9;ByteStringgetModifiedFilesBytes(int index)Files modified during the build, relative to the build dirrepeated string modified_files = 9;booleangetRedeployNotRequired()If there have been no structural changes it is possible that no further action is requiredbool redeploy_not_required = 10;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static BuildSuccessparseFrom(ByteBuffer data)static BuildSuccessparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static BuildSuccessparseFrom(ByteString data)static BuildSuccessparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static BuildSuccessparseFrom(Array<byte> data)static BuildSuccessparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static BuildSuccessparseFrom(InputStream input)static BuildSuccessparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static BuildSuccessparseDelimitedFrom(InputStream input)static BuildSuccessparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static BuildSuccessparseFrom(CodedInputStream input)static BuildSuccessparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)BuildSuccess.BuildernewBuilderForType()static BuildSuccess.BuildernewBuilder()static BuildSuccess.BuildernewBuilder(BuildSuccess prototype)BuildSuccess.BuildertoBuilder()static BuildSuccessgetDefaultInstance()static Parser<BuildSuccess>parser()Parser<BuildSuccess>getParserForType()BuildSuccessgetDefaultInstanceForType()-
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()
-
hasModule
boolean hasModule()
Module schema for the built module.xyz.block.ftl.schema.v1.Module module = 1;- Returns:
Whether the module field is set.
-
getModule
Module getModule()
Module schema for the built module.xyz.block.ftl.schema.v1.Module module = 1;- Returns:
The module.
-
getModuleOrBuilder
ModuleOrBuilder getModuleOrBuilder()
Module schema for the built module.xyz.block.ftl.schema.v1.Module module = 1;
-
getDeployList
ProtocolStringList getDeployList()
Paths for files/directories to be deployedrepeated string deploy = 2;- Returns:
A list containing the deploy.
-
getDeployCount
int getDeployCount()
Paths for files/directories to be deployedrepeated string deploy = 2;- Returns:
The count of deploy.
-
getDeploy
String getDeploy(int index)
Paths for files/directories to be deployedrepeated string deploy = 2;- 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 deployedrepeated string deploy = 2;- 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 runnerstring docker_image = 3;- Returns:
The dockerImage.
-
getDockerImageBytes
ByteString getDockerImageBytes()
Name of the docker image to use for the runnerstring docker_image = 3;- 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 = 4;- 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 = 4;- 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 = 4;
-
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 = 5;- 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 = 5;- 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 = 5;- Returns:
The bytes for devEndpoint.
-
hasDebugPort
boolean hasDebugPort()
Dev mode debug portoptional int32 debug_port = 6;- Returns:
Whether the debugPort field is set.
-
getDebugPort
int getDebugPort()
Dev mode debug portoptional int32 debug_port = 6;- 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 processoptional string dev_hot_reload_endpoint = 7;- 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 processoptional string dev_hot_reload_endpoint = 7;- 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 processoptional string dev_hot_reload_endpoint = 7;- Returns:
The bytes for devHotReloadEndpoint.
-
hasDevHotReloadVersion
boolean hasDevHotReloadVersion()
optional int64 dev_hot_reload_version = 8;- Returns:
Whether the devHotReloadVersion field is set.
-
getDevHotReloadVersion
long getDevHotReloadVersion()
optional int64 dev_hot_reload_version = 8;- Returns:
The devHotReloadVersion.
-
getModifiedFilesList
ProtocolStringList getModifiedFilesList()
Files modified during the build, relative to the build dirrepeated string modified_files = 9;- Returns:
A list containing the modifiedFiles.
-
getModifiedFilesCount
int getModifiedFilesCount()
Files modified during the build, relative to the build dirrepeated string modified_files = 9;- Returns:
The count of modifiedFiles.
-
getModifiedFiles
String getModifiedFiles(int index)
Files modified during the build, relative to the build dirrepeated string modified_files = 9;- Parameters:
index- The index of the element to return.- Returns:
The modifiedFiles at the given index.
-
getModifiedFilesBytes
ByteString getModifiedFilesBytes(int index)
Files modified during the build, relative to the build dirrepeated string modified_files = 9;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the modifiedFiles at the given index.
-
getRedeployNotRequired
boolean getRedeployNotRequired()
If there have been no structural changes it is possible that no further action is requiredbool redeploy_not_required = 10;- Returns:
The redeployNotRequired.
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static BuildSuccess parseFrom(ByteBuffer data)
-
parseFrom
static BuildSuccess parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static BuildSuccess parseFrom(ByteString data)
-
parseFrom
static BuildSuccess parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static BuildSuccess parseFrom(Array<byte> data)
-
parseFrom
static BuildSuccess parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static BuildSuccess parseFrom(InputStream input)
-
parseFrom
static BuildSuccess parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static BuildSuccess parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static BuildSuccess parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static BuildSuccess parseFrom(CodedInputStream input)
-
parseFrom
static BuildSuccess parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
BuildSuccess.Builder newBuilderForType()
-
newBuilder
static BuildSuccess.Builder newBuilder()
-
newBuilder
static BuildSuccess.Builder newBuilder(BuildSuccess prototype)
-
toBuilder
BuildSuccess.Builder toBuilder()
-
getDefaultInstance
static BuildSuccess getDefaultInstance()
-
parser
static Parser<BuildSuccess> parser()
-
getParserForType
Parser<BuildSuccess> getParserForType()
-
getDefaultInstanceForType
BuildSuccess getDefaultInstanceForType()
-
-
-
-