Package xyz.block.ftl.language.v1
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 intCONTEXT_ID_FIELD_NUMBERpublic final static intIS_AUTOMATIC_REBUILD_FIELD_NUMBERpublic 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_RUNNER_INFO_FILE_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;booleanhasModule()Module schema for the built module.xyz.block.ftl.schema.v1.Module module = 3;ModulegetModule()Module schema for the built module.xyz.block.ftl.schema.v1.Module module = 3;ModuleOrBuildergetModuleOrBuilder()Module schema for the built module.xyz.block.ftl.schema.v1.Module module = 3;ProtocolStringListgetDeployList()Paths for files/directories to be deployedrepeated string deploy = 4;intgetDeployCount()Paths for files/directories to be deployedrepeated string deploy = 4;StringgetDeploy(int index)Paths for files/directories to be deployedrepeated string deploy = 4;ByteStringgetDeployBytes(int index)Paths for files/directories to be deployedrepeated string deploy = 4;StringgetDockerImage()Name of the docker image to use for the runnerstring docker_image = 5;ByteStringgetDockerImageBytes()Name of the docker image to use for the runnerstring docker_image = 5;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 = 6;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 = 6;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 = 6;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 = 7;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 = 7;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 = 7;booleanhasDebugPort()Dev mode debug portoptional int32 debug_port = 8;intgetDebugPort()Dev mode debug portoptional int32 debug_port = 8;booleanhasDevRunnerInfoFile()Dev mode runner info file, this file is used to allow the runner to communicate provisioner info back to the pluginoptional string dev_runner_info_file = 9;StringgetDevRunnerInfoFile()Dev mode runner info file, this file is used to allow the runner to communicate provisioner info back to the pluginoptional string dev_runner_info_file = 9;ByteStringgetDevRunnerInfoFileBytes()Dev mode runner info file, this file is used to allow the runner to communicate provisioner info back to the pluginoptional string dev_runner_info_file = 9;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()
-
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.
-
getModuleOrBuilder
ModuleOrBuilder getModuleOrBuilder()
Module schema for the built module.xyz.block.ftl.schema.v1.Module module = 3;
-
getDeployList
ProtocolStringList getDeployList()
Paths for files/directories to be deployedrepeated string deploy = 4;- Returns:
A list containing the deploy.
-
getDeployCount
int getDeployCount()
Paths for files/directories to be deployedrepeated string deploy = 4;- Returns:
The count of deploy.
-
getDeploy
String getDeploy(int index)
Paths for files/directories to be deployedrepeated 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 deployedrepeated 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 runnerstring docker_image = 5;- Returns:
The dockerImage.
-
getDockerImageBytes
ByteString getDockerImageBytes()
Name of the docker image to use for the runnerstring 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 portoptional int32 debug_port = 8;- Returns:
Whether the debugPort field is set.
-
getDebugPort
int getDebugPort()
Dev mode debug portoptional int32 debug_port = 8;- Returns:
The debugPort.
-
hasDevRunnerInfoFile
boolean hasDevRunnerInfoFile()
Dev mode runner info file, this file is used to allow the runner to communicate provisioner info back to the pluginoptional string dev_runner_info_file = 9;- Returns:
Whether the devRunnerInfoFile field is set.
-
getDevRunnerInfoFile
String getDevRunnerInfoFile()
Dev mode runner info file, this file is used to allow the runner to communicate provisioner info back to the pluginoptional string dev_runner_info_file = 9;- Returns:
The devRunnerInfoFile.
-
getDevRunnerInfoFileBytes
ByteString getDevRunnerInfoFileBytes()
Dev mode runner info file, this file is used to allow the runner to communicate provisioner info back to the pluginoptional string dev_runner_info_file = 9;- Returns:
The bytes for devRunnerInfoFile.
-
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()
-
-
-
-