Interface Build.AttributeDefinitionOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
Build.AttributeDefinition,Build.AttributeDefinition.Builder
- Enclosing class:
- Build
public static interface Build.AttributeDefinitionOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Build.AllowedRuleClassInfogetAllowedRuleClasses()type=label*Build.AllowedRuleClassInfoOrBuildergetAllowedRuleClassesOrBuilder()type=label*booleangetAllowEmpty()type=*_list|*_dictbooleangetAllowSingleFile()type=labelbooleangetCfgIsHost()edge entails a transition to "host" configurationbooleangetConfigurable()optional bool configurable = 11;Build.AttributeValuegetDefault()simple (not computed/late-bound) values onlyBuild.AttributeValueOrBuildergetDefaultOrBuilder()simple (not computed/late-bound) values onlyjava.lang.StringgetDocumentation()optional string documentation = 5;ByteStringgetDocumentationBytes()optional string documentation = 5;booleangetExecutable()type=labelbooleangetMandatory()optional bool mandatory = 3;java.lang.StringgetName()e.g.ByteStringgetNameBytes()e.g.booleangetNodep()label-valued edge does not establish a dependencyBuild.Attribute.DiscriminatorgetType()required .blaze_query.Attribute.Discriminator type = 2;booleanhasAllowedRuleClasses()type=label*booleanhasAllowEmpty()type=*_list|*_dictbooleanhasAllowSingleFile()type=labelbooleanhasCfgIsHost()edge entails a transition to "host" configurationbooleanhasConfigurable()optional bool configurable = 11;booleanhasDefault()simple (not computed/late-bound) values onlybooleanhasDocumentation()optional string documentation = 5;booleanhasExecutable()type=labelbooleanhasMandatory()optional bool mandatory = 3;booleanhasName()e.g.booleanhasNodep()label-valued edge does not establish a dependencybooleanhasType()required .blaze_query.Attribute.Discriminator type = 2;-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
e.g. "name", "srcs"
required string name = 1;- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
e.g. "name", "srcs"
required string name = 1;- Returns:
- The name.
-
getNameBytes
ByteString getNameBytes()
e.g. "name", "srcs"
required string name = 1;- Returns:
- The bytes for name.
-
hasType
boolean hasType()
required .blaze_query.Attribute.Discriminator type = 2;- Returns:
- Whether the type field is set.
-
getType
Build.Attribute.Discriminator getType()
required .blaze_query.Attribute.Discriminator type = 2;- Returns:
- The type.
-
hasMandatory
boolean hasMandatory()
optional bool mandatory = 3;- Returns:
- Whether the mandatory field is set.
-
getMandatory
boolean getMandatory()
optional bool mandatory = 3;- Returns:
- The mandatory.
-
hasAllowedRuleClasses
boolean hasAllowedRuleClasses()
type=label*
optional .blaze_query.AllowedRuleClassInfo allowed_rule_classes = 4;- Returns:
- Whether the allowedRuleClasses field is set.
-
getAllowedRuleClasses
Build.AllowedRuleClassInfo getAllowedRuleClasses()
type=label*
optional .blaze_query.AllowedRuleClassInfo allowed_rule_classes = 4;- Returns:
- The allowedRuleClasses.
-
getAllowedRuleClassesOrBuilder
Build.AllowedRuleClassInfoOrBuilder getAllowedRuleClassesOrBuilder()
type=label*
optional .blaze_query.AllowedRuleClassInfo allowed_rule_classes = 4;
-
hasDocumentation
boolean hasDocumentation()
optional string documentation = 5;- Returns:
- Whether the documentation field is set.
-
getDocumentation
java.lang.String getDocumentation()
optional string documentation = 5;- Returns:
- The documentation.
-
getDocumentationBytes
ByteString getDocumentationBytes()
optional string documentation = 5;- Returns:
- The bytes for documentation.
-
hasAllowEmpty
boolean hasAllowEmpty()
type=*_list|*_dict
optional bool allow_empty = 6;- Returns:
- Whether the allowEmpty field is set.
-
getAllowEmpty
boolean getAllowEmpty()
type=*_list|*_dict
optional bool allow_empty = 6;- Returns:
- The allowEmpty.
-
hasAllowSingleFile
boolean hasAllowSingleFile()
type=label
optional bool allow_single_file = 7;- Returns:
- Whether the allowSingleFile field is set.
-
getAllowSingleFile
boolean getAllowSingleFile()
type=label
optional bool allow_single_file = 7;- Returns:
- The allowSingleFile.
-
hasDefault
boolean hasDefault()
simple (not computed/late-bound) values only
optional .blaze_query.AttributeValue default = 9;- Returns:
- Whether the default field is set.
-
getDefault
Build.AttributeValue getDefault()
simple (not computed/late-bound) values only
optional .blaze_query.AttributeValue default = 9;- Returns:
- The default.
-
getDefaultOrBuilder
Build.AttributeValueOrBuilder getDefaultOrBuilder()
simple (not computed/late-bound) values only
optional .blaze_query.AttributeValue default = 9;
-
hasExecutable
boolean hasExecutable()
type=label
optional bool executable = 10;- Returns:
- Whether the executable field is set.
-
getExecutable
boolean getExecutable()
type=label
optional bool executable = 10;- Returns:
- The executable.
-
hasConfigurable
boolean hasConfigurable()
optional bool configurable = 11;- Returns:
- Whether the configurable field is set.
-
getConfigurable
boolean getConfigurable()
optional bool configurable = 11;- Returns:
- The configurable.
-
hasNodep
boolean hasNodep()
label-valued edge does not establish a dependency
optional bool nodep = 12;- Returns:
- Whether the nodep field is set.
-
getNodep
boolean getNodep()
label-valued edge does not establish a dependency
optional bool nodep = 12;- Returns:
- The nodep.
-
hasCfgIsHost
boolean hasCfgIsHost()
edge entails a transition to "host" configuration
optional bool cfg_is_host = 13;- Returns:
- Whether the cfgIsHost field is set.
-
getCfgIsHost
boolean getCfgIsHost()
edge entails a transition to "host" configuration
optional bool cfg_is_host = 13;- Returns:
- The cfgIsHost.
-
-