Interface StardocOutputProtos.RepositoryRuleInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StardocOutputProtos.RepositoryRuleInfo,StardocOutputProtos.RepositoryRuleInfo.Builder
- Enclosing class:
- StardocOutputProtos
public static interface StardocOutputProtos.RepositoryRuleInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(int index) The attributes of the repository rule.intThe attributes of the repository rule.The attributes of the repository rule.getAttributeOrBuilder(int index) The attributes of the repository rule.List<? extends StardocOutputProtos.AttributeInfoOrBuilder>The attributes of the repository rule.The documentation string of the repository rule.com.google.protobuf.ByteStringThe documentation string of the repository rule.getEnviron(int index) Environment variables that this repository rule depends on.com.google.protobuf.ByteStringgetEnvironBytes(int index) Environment variables that this repository rule depends on.intEnvironment variables that this repository rule depends on.Environment variables that this repository rule depends on.The Starlark module where and the name under which the repository rule was originally declared.The Starlark module where and the name under which the repository rule was originally declared.The name under which the repository rule is made accessible to a user of this Starlark module.com.google.protobuf.ByteStringThe name under which the repository rule is made accessible to a user of this Starlark module.booleanThe Starlark module where and the name under which the repository rule was originally declared.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
-
getRuleName
String getRuleName()The name under which the repository rule is made accessible to a user of this Starlark module.
string rule_name = 1;- Returns:
- The ruleName.
-
getRuleNameBytes
com.google.protobuf.ByteString getRuleNameBytes()The name under which the repository rule is made accessible to a user of this Starlark module.
string rule_name = 1;- Returns:
- The bytes for ruleName.
-
getDocString
String getDocString()The documentation string of the repository rule.
string doc_string = 2;- Returns:
- The docString.
-
getDocStringBytes
com.google.protobuf.ByteString getDocStringBytes()The documentation string of the repository rule.
string doc_string = 2;- Returns:
- The bytes for docString.
-
getAttributeList
List<StardocOutputProtos.AttributeInfo> getAttributeList()The attributes of the repository rule.
repeated .stardoc_output.AttributeInfo attribute = 3; -
getAttribute
The attributes of the repository rule.
repeated .stardoc_output.AttributeInfo attribute = 3; -
getAttributeCount
int getAttributeCount()The attributes of the repository rule.
repeated .stardoc_output.AttributeInfo attribute = 3; -
getAttributeOrBuilderList
List<? extends StardocOutputProtos.AttributeInfoOrBuilder> getAttributeOrBuilderList()The attributes of the repository rule.
repeated .stardoc_output.AttributeInfo attribute = 3; -
getAttributeOrBuilder
The attributes of the repository rule.
repeated .stardoc_output.AttributeInfo attribute = 3; -
getEnvironList
Environment variables that this repository rule depends on.
repeated string environ = 4;- Returns:
- A list containing the environ.
-
getEnvironCount
int getEnvironCount()Environment variables that this repository rule depends on.
repeated string environ = 4;- Returns:
- The count of environ.
-
getEnviron
Environment variables that this repository rule depends on.
repeated string environ = 4;- Parameters:
index- The index of the element to return.- Returns:
- The environ at the given index.
-
getEnvironBytes
com.google.protobuf.ByteString getEnvironBytes(int index) Environment variables that this repository rule depends on.
repeated string environ = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the environ at the given index.
-
hasOriginKey
boolean hasOriginKey()The Starlark module where and the name under which the repository rule was originally declared.
.stardoc_output.OriginKey origin_key = 5;- Returns:
- Whether the originKey field is set.
-
getOriginKey
StardocOutputProtos.OriginKey getOriginKey()The Starlark module where and the name under which the repository rule was originally declared.
.stardoc_output.OriginKey origin_key = 5;- Returns:
- The originKey.
-
getOriginKeyOrBuilder
StardocOutputProtos.OriginKeyOrBuilder getOriginKeyOrBuilder()The Starlark module where and the name under which the repository rule was originally declared.
.stardoc_output.OriginKey origin_key = 5;
-