Interface Build.TargetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Build.Target,Build.Target.Builder
- Enclosing class:
- Build
public static interface Build.TargetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAn environment group.An environment group.A generated file that is the output of a rule.A generated file that is the output of a rule.A package group.A package group.getRule()If this target represents a rule, the rule is stored here.If this target represents a rule, the rule is stored here.A file that is not generated by the build system (version controlled or created by the test harness).A file that is not generated by the build system (version controlled or created by the test harness).getType()The type of target contained in the message.booleanAn environment group.booleanA generated file that is the output of a rule.booleanA package group.booleanhasRule()If this target represents a rule, the rule is stored here.booleanA file that is not generated by the build system (version controlled or created by the test harness).booleanhasType()The type of target contained in the message.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasType
boolean hasType()The type of target contained in the message.
required .blaze_query.Target.Discriminator type = 1;- Returns:
- Whether the type field is set.
-
getType
Build.Target.Discriminator getType()The type of target contained in the message.
required .blaze_query.Target.Discriminator type = 1;- Returns:
- The type.
-
hasRule
boolean hasRule()If this target represents a rule, the rule is stored here.
optional .blaze_query.Rule rule = 2;- Returns:
- Whether the rule field is set.
-
getRule
Build.Rule getRule()If this target represents a rule, the rule is stored here.
optional .blaze_query.Rule rule = 2;- Returns:
- The rule.
-
getRuleOrBuilder
Build.RuleOrBuilder getRuleOrBuilder()If this target represents a rule, the rule is stored here.
optional .blaze_query.Rule rule = 2; -
hasSourceFile
boolean hasSourceFile()A file that is not generated by the build system (version controlled or created by the test harness).
optional .blaze_query.SourceFile source_file = 3;- Returns:
- Whether the sourceFile field is set.
-
getSourceFile
Build.SourceFile getSourceFile()A file that is not generated by the build system (version controlled or created by the test harness).
optional .blaze_query.SourceFile source_file = 3;- Returns:
- The sourceFile.
-
getSourceFileOrBuilder
Build.SourceFileOrBuilder getSourceFileOrBuilder()A file that is not generated by the build system (version controlled or created by the test harness).
optional .blaze_query.SourceFile source_file = 3; -
hasGeneratedFile
boolean hasGeneratedFile()A generated file that is the output of a rule.
optional .blaze_query.GeneratedFile generated_file = 4;- Returns:
- Whether the generatedFile field is set.
-
getGeneratedFile
Build.GeneratedFile getGeneratedFile()A generated file that is the output of a rule.
optional .blaze_query.GeneratedFile generated_file = 4;- Returns:
- The generatedFile.
-
getGeneratedFileOrBuilder
Build.GeneratedFileOrBuilder getGeneratedFileOrBuilder()A generated file that is the output of a rule.
optional .blaze_query.GeneratedFile generated_file = 4; -
hasPackageGroup
boolean hasPackageGroup()A package group.
optional .blaze_query.PackageGroup package_group = 5;- Returns:
- Whether the packageGroup field is set.
-
getPackageGroup
Build.PackageGroup getPackageGroup()A package group.
optional .blaze_query.PackageGroup package_group = 5;- Returns:
- The packageGroup.
-
getPackageGroupOrBuilder
Build.PackageGroupOrBuilder getPackageGroupOrBuilder()A package group.
optional .blaze_query.PackageGroup package_group = 5; -
hasEnvironmentGroup
boolean hasEnvironmentGroup()An environment group.
optional .blaze_query.EnvironmentGroup environment_group = 6;- Returns:
- Whether the environmentGroup field is set.
-
getEnvironmentGroup
Build.EnvironmentGroup getEnvironmentGroup()An environment group.
optional .blaze_query.EnvironmentGroup environment_group = 6;- Returns:
- The environmentGroup.
-
getEnvironmentGroupOrBuilder
Build.EnvironmentGroupOrBuilder getEnvironmentGroupOrBuilder()An environment group.
optional .blaze_query.EnvironmentGroup environment_group = 6;
-