Package xyz.block.ftl.language.v1
Class BuildContext
-
- 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.BuildContextOrBuilder
public final class BuildContext extends GeneratedMessageV3 implements BuildContextOrBuilder
Protobuf typeBuildContext contains contextual information needed to build. Plugins must include the build context's id when a build succeeds or fails. For automatic rebuilds, plugins must use the most recent build context they have received.xyz.block.ftl.language.v1.BuildContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBuildContext.Builder
Protobuf typeBuildContext contains contextual information needed to build. Plugins must include the build context's id when a build succeeds or fails. For automatic rebuilds, plugins must use the most recent build context they have received.xyz.block.ftl.language.v1.BuildContext
-
Field Summary
Fields Modifier and Type Field Description public final static intMODULE_CONFIG_FIELD_NUMBERpublic final static intSCHEMA_FIELD_NUMBERpublic final static intDEPENDENCIES_FIELD_NUMBERpublic final static intBUILD_ENV_FIELD_NUMBERpublic final static intOS_FIELD_NUMBERpublic final static intARCH_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()booleanhasModuleConfig()The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 1;ModuleConfiggetModuleConfig()The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 1;ModuleConfigOrBuildergetModuleConfigOrBuilder()The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 1;booleanhasSchema()The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 2;SchemagetSchema()The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 2;SchemaOrBuildergetSchemaOrBuilder()The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 2;ProtocolStringListgetDependenciesList()The dependencies for the modulerepeated string dependencies = 3;intgetDependenciesCount()The dependencies for the modulerepeated string dependencies = 3;StringgetDependencies(int index)The dependencies for the modulerepeated string dependencies = 3;ByteStringgetDependenciesBytes(int index)The dependencies for the modulerepeated string dependencies = 3;ProtocolStringListgetBuildEnvList()Build environment provides environment variables to be set for the build commandrepeated string build_env = 4;intgetBuildEnvCount()Build environment provides environment variables to be set for the build commandrepeated string build_env = 4;StringgetBuildEnv(int index)Build environment provides environment variables to be set for the build commandrepeated string build_env = 4;ByteStringgetBuildEnvBytes(int index)Build environment provides environment variables to be set for the build commandrepeated string build_env = 4;StringgetOs()string os = 5;ByteStringgetOsBytes()string os = 5;StringgetArch()string arch = 6;ByteStringgetArchBytes()string arch = 6;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static BuildContextparseFrom(ByteBuffer data)static BuildContextparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static BuildContextparseFrom(ByteString data)static BuildContextparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static BuildContextparseFrom(Array<byte> data)static BuildContextparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static BuildContextparseFrom(InputStream input)static BuildContextparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static BuildContextparseDelimitedFrom(InputStream input)static BuildContextparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static BuildContextparseFrom(CodedInputStream input)static BuildContextparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)BuildContext.BuildernewBuilderForType()static BuildContext.BuildernewBuilder()static BuildContext.BuildernewBuilder(BuildContext prototype)BuildContext.BuildertoBuilder()static BuildContextgetDefaultInstance()static Parser<BuildContext>parser()Parser<BuildContext>getParserForType()BuildContextgetDefaultInstanceForType()-
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()
-
hasModuleConfig
boolean hasModuleConfig()
The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 1;- Returns:
Whether the moduleConfig field is set.
-
getModuleConfig
ModuleConfig getModuleConfig()
The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 1;- Returns:
The moduleConfig.
-
getModuleConfigOrBuilder
ModuleConfigOrBuilder getModuleConfigOrBuilder()
The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 1;
-
hasSchema
boolean hasSchema()
The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 2;- Returns:
Whether the schema field is set.
-
getSchema
Schema getSchema()
The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 2;- Returns:
The schema.
-
getSchemaOrBuilder
SchemaOrBuilder getSchemaOrBuilder()
The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 2;
-
getDependenciesList
ProtocolStringList getDependenciesList()
The dependencies for the modulerepeated string dependencies = 3;- Returns:
A list containing the dependencies.
-
getDependenciesCount
int getDependenciesCount()
The dependencies for the modulerepeated string dependencies = 3;- Returns:
The count of dependencies.
-
getDependencies
String getDependencies(int index)
The dependencies for the modulerepeated string dependencies = 3;- Parameters:
index- The index of the element to return.- Returns:
The dependencies at the given index.
-
getDependenciesBytes
ByteString getDependenciesBytes(int index)
The dependencies for the modulerepeated string dependencies = 3;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the dependencies at the given index.
-
getBuildEnvList
ProtocolStringList getBuildEnvList()
Build environment provides environment variables to be set for the build commandrepeated string build_env = 4;- Returns:
A list containing the buildEnv.
-
getBuildEnvCount
int getBuildEnvCount()
Build environment provides environment variables to be set for the build commandrepeated string build_env = 4;- Returns:
The count of buildEnv.
-
getBuildEnv
String getBuildEnv(int index)
Build environment provides environment variables to be set for the build commandrepeated string build_env = 4;- Parameters:
index- The index of the element to return.- Returns:
The buildEnv at the given index.
-
getBuildEnvBytes
ByteString getBuildEnvBytes(int index)
Build environment provides environment variables to be set for the build commandrepeated string build_env = 4;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the buildEnv at the given index.
-
getOsBytes
ByteString getOsBytes()
string os = 5;- Returns:
The bytes for os.
-
getArchBytes
ByteString getArchBytes()
string arch = 6;- Returns:
The bytes for arch.
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static BuildContext parseFrom(ByteBuffer data)
-
parseFrom
static BuildContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static BuildContext parseFrom(ByteString data)
-
parseFrom
static BuildContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static BuildContext parseFrom(Array<byte> data)
-
parseFrom
static BuildContext parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static BuildContext parseFrom(InputStream input)
-
parseFrom
static BuildContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static BuildContext parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static BuildContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static BuildContext parseFrom(CodedInputStream input)
-
parseFrom
static BuildContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
BuildContext.Builder newBuilderForType()
-
newBuilder
static BuildContext.Builder newBuilder()
-
newBuilder
static BuildContext.Builder newBuilder(BuildContext prototype)
-
toBuilder
BuildContext.Builder toBuilder()
-
getDefaultInstance
static BuildContext getDefaultInstance()
-
parser
static Parser<BuildContext> parser()
-
getParserForType
Parser<BuildContext> getParserForType()
-
getDefaultInstanceForType
BuildContext getDefaultInstanceForType()
-
-
-
-