Class BuildContext.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.language.v1.BuildContextOrBuilder
public final class BuildContext.Builder extends GeneratedMessageV3.Builder<BuilderT> 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
-
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()BuildContext.Builderclear()Descriptors.DescriptorgetDescriptorForType()BuildContextgetDefaultInstanceForType()BuildContextbuild()BuildContextbuildPartial()BuildContext.Builderclone()BuildContext.BuildersetField(Descriptors.FieldDescriptor field, Object value)BuildContext.BuilderclearField(Descriptors.FieldDescriptor field)BuildContext.BuilderclearOneof(Descriptors.OneofDescriptor oneof)BuildContext.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)BuildContext.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, Object value)BuildContext.BuildermergeFrom(Message other)BuildContext.BuildermergeFrom(BuildContext other)final booleanisInitialized()BuildContext.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)StringgetId()string id = 1;ByteStringgetIdBytes()string id = 1;BuildContext.BuildersetId(String value)string id = 1;BuildContext.BuilderclearId()string id = 1;BuildContext.BuildersetIdBytes(ByteString value)string id = 1;booleanhasModuleConfig()The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;ModuleConfiggetModuleConfig()The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;BuildContext.BuildersetModuleConfig(ModuleConfig value)The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;BuildContext.BuildersetModuleConfig(ModuleConfig.Builder builderForValue)The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;BuildContext.BuildermergeModuleConfig(ModuleConfig value)The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;BuildContext.BuilderclearModuleConfig()The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;ModuleConfig.BuildergetModuleConfigBuilder()The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;ModuleConfigOrBuildergetModuleConfigOrBuilder()The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;booleanhasSchema()The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;SchemagetSchema()The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;BuildContext.BuildersetSchema(Schema value)The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;BuildContext.BuildersetSchema(Schema.Builder builderForValue)The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;BuildContext.BuildermergeSchema(Schema value)The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;BuildContext.BuilderclearSchema()The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;Schema.BuildergetSchemaBuilder()The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;SchemaOrBuildergetSchemaOrBuilder()The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;ProtocolStringListgetDependenciesList()The dependencies for the modulerepeated string dependencies = 4;intgetDependenciesCount()The dependencies for the modulerepeated string dependencies = 4;StringgetDependencies(int index)The dependencies for the modulerepeated string dependencies = 4;ByteStringgetDependenciesBytes(int index)The dependencies for the modulerepeated string dependencies = 4;BuildContext.BuildersetDependencies(int index, String value)The dependencies for the modulerepeated string dependencies = 4;BuildContext.BuilderaddDependencies(String value)The dependencies for the modulerepeated string dependencies = 4;BuildContext.BuilderaddAllDependencies(Iterable<String> values)The dependencies for the modulerepeated string dependencies = 4;BuildContext.BuilderclearDependencies()The dependencies for the modulerepeated string dependencies = 4;BuildContext.BuilderaddDependenciesBytes(ByteString value)The dependencies for the modulerepeated string dependencies = 4;ProtocolStringListgetBuildEnvList()Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;intgetBuildEnvCount()Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;StringgetBuildEnv(int index)Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;ByteStringgetBuildEnvBytes(int index)Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;BuildContext.BuildersetBuildEnv(int index, String value)Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;BuildContext.BuilderaddBuildEnv(String value)Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;BuildContext.BuilderaddAllBuildEnv(Iterable<String> values)Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;BuildContext.BuilderclearBuildEnv()Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;BuildContext.BuilderaddBuildEnvBytes(ByteString value)Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;final BuildContext.BuildersetUnknownFields(UnknownFieldSet unknownFields)final BuildContext.BuildermergeUnknownFields(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
-
-
Method Detail
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
clear
BuildContext.Builder clear()
-
getDescriptorForType
Descriptors.Descriptor getDescriptorForType()
-
getDefaultInstanceForType
BuildContext getDefaultInstanceForType()
-
build
BuildContext build()
-
buildPartial
BuildContext buildPartial()
-
clone
BuildContext.Builder clone()
-
setField
BuildContext.Builder setField(Descriptors.FieldDescriptor field, Object value)
-
clearField
BuildContext.Builder clearField(Descriptors.FieldDescriptor field)
-
clearOneof
BuildContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
-
setRepeatedField
BuildContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
-
addRepeatedField
BuildContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
-
mergeFrom
BuildContext.Builder mergeFrom(Message other)
-
mergeFrom
BuildContext.Builder mergeFrom(BuildContext other)
-
isInitialized
final boolean isInitialized()
-
mergeFrom
BuildContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
getIdBytes
ByteString getIdBytes()
string id = 1;- Returns:
The bytes for id.
-
setId
BuildContext.Builder setId(String value)
string id = 1;- Parameters:
value- The id to set.- Returns:
This builder for chaining.
-
clearId
BuildContext.Builder clearId()
string id = 1;- Returns:
This builder for chaining.
-
setIdBytes
BuildContext.Builder setIdBytes(ByteString value)
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
This builder for chaining.
-
hasModuleConfig
boolean hasModuleConfig()
The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;- Returns:
Whether the moduleConfig field is set.
-
getModuleConfig
ModuleConfig getModuleConfig()
The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;- Returns:
The moduleConfig.
-
setModuleConfig
BuildContext.Builder setModuleConfig(ModuleConfig value)
The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;
-
setModuleConfig
BuildContext.Builder setModuleConfig(ModuleConfig.Builder builderForValue)
The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;
-
mergeModuleConfig
BuildContext.Builder mergeModuleConfig(ModuleConfig value)
The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;
-
clearModuleConfig
BuildContext.Builder clearModuleConfig()
The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;
-
getModuleConfigBuilder
ModuleConfig.Builder getModuleConfigBuilder()
The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;
-
getModuleConfigOrBuilder
ModuleConfigOrBuilder getModuleConfigOrBuilder()
The configuration for the module.xyz.block.ftl.language.v1.ModuleConfig module_config = 2;
-
hasSchema
boolean hasSchema()
The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;- Returns:
Whether the schema field is set.
-
getSchema
Schema getSchema()
The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;- Returns:
The schema.
-
setSchema
BuildContext.Builder setSchema(Schema value)
The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;
-
setSchema
BuildContext.Builder setSchema(Schema.Builder builderForValue)
The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;
-
mergeSchema
BuildContext.Builder mergeSchema(Schema value)
The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;
-
clearSchema
BuildContext.Builder clearSchema()
The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;
-
getSchemaBuilder
Schema.Builder getSchemaBuilder()
The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;
-
getSchemaOrBuilder
SchemaOrBuilder getSchemaOrBuilder()
The FTL schema including all dependencies.xyz.block.ftl.schema.v1.Schema schema = 3;
-
getDependenciesList
ProtocolStringList getDependenciesList()
The dependencies for the modulerepeated string dependencies = 4;- Returns:
A list containing the dependencies.
-
getDependenciesCount
int getDependenciesCount()
The dependencies for the modulerepeated string dependencies = 4;- Returns:
The count of dependencies.
-
getDependencies
String getDependencies(int index)
The dependencies for the modulerepeated string dependencies = 4;- 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 = 4;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the dependencies at the given index.
-
setDependencies
BuildContext.Builder setDependencies(int index, String value)
The dependencies for the modulerepeated string dependencies = 4;- Parameters:
index- The index to set the value at.value- The dependencies to set.- Returns:
This builder for chaining.
-
addDependencies
BuildContext.Builder addDependencies(String value)
The dependencies for the modulerepeated string dependencies = 4;- Parameters:
value- The dependencies to add.- Returns:
This builder for chaining.
-
addAllDependencies
BuildContext.Builder addAllDependencies(Iterable<String> values)
The dependencies for the modulerepeated string dependencies = 4;- Parameters:
values- The dependencies to add.- Returns:
This builder for chaining.
-
clearDependencies
BuildContext.Builder clearDependencies()
The dependencies for the modulerepeated string dependencies = 4;- Returns:
This builder for chaining.
-
addDependenciesBytes
BuildContext.Builder addDependenciesBytes(ByteString value)
The dependencies for the modulerepeated string dependencies = 4;- Parameters:
value- The bytes of the dependencies to add.- Returns:
This builder for chaining.
-
getBuildEnvList
ProtocolStringList getBuildEnvList()
Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;- Returns:
A list containing the buildEnv.
-
getBuildEnvCount
int getBuildEnvCount()
Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;- 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 = 5;- 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 = 5;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the buildEnv at the given index.
-
setBuildEnv
BuildContext.Builder setBuildEnv(int index, String value)
Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;- Parameters:
index- The index to set the value at.value- The buildEnv to set.- Returns:
This builder for chaining.
-
addBuildEnv
BuildContext.Builder addBuildEnv(String value)
Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;- Parameters:
value- The buildEnv to add.- Returns:
This builder for chaining.
-
addAllBuildEnv
BuildContext.Builder addAllBuildEnv(Iterable<String> values)
Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;- Parameters:
values- The buildEnv to add.- Returns:
This builder for chaining.
-
clearBuildEnv
BuildContext.Builder clearBuildEnv()
Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;- Returns:
This builder for chaining.
-
addBuildEnvBytes
BuildContext.Builder addBuildEnvBytes(ByteString value)
Build environment provides environment variables to be set for the build commandrepeated string build_env = 5;- Parameters:
value- The bytes of the buildEnv to add.- Returns:
This builder for chaining.
-
setUnknownFields
final BuildContext.Builder setUnknownFields(UnknownFieldSet unknownFields)
-
mergeUnknownFields
final BuildContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
-
-
-
-