Class StardocOutputProtos.AttributeInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.AttributeInfo.Builder>
com.google.devtools.build.lib.starlarkdocextract.StardocOutputProtos.AttributeInfo.Builder
- All Implemented Interfaces:
StardocOutputProtos.AttributeInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StardocOutputProtos.AttributeInfo
public static final class StardocOutputProtos.AttributeInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.AttributeInfo.Builder>
implements StardocOutputProtos.AttributeInfoOrBuilder
Representation of a Starlark rule, repository rule, or module extension tag attribute definition, comprised of an attribute name, and a schema defined by a call to one of the 'attr' module methods enumerated at https://bazel.build/rules/lib/attrProtobuf type
stardoc_output.AttributeInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllProviderNameGroup(Iterable<? extends StardocOutputProtos.ProviderNameGroup> values) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.addProviderNameGroup(int index, StardocOutputProtos.ProviderNameGroup value) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.addProviderNameGroup(int index, StardocOutputProtos.ProviderNameGroup.Builder builderForValue) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.addProviderNameGroup(StardocOutputProtos.ProviderNameGroup.Builder builderForValue) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.addProviderNameGroupBuilder(int index) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.build()clear()The string representation of the default value of this attribute.The documentation string of the attribute, supplied via the 'doc' parameter to the schema-creation call.If true, all targets of the rule must specify a value for this attribute.The name of the attribute.If true, the attribute is non-configurable.The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.The type of the attribute, defined generally by which function is invoked in the attr module.The string representation of the default value of this attribute.com.google.protobuf.ByteStringThe string representation of the default value of this attribute.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe documentation string of the attribute, supplied via the 'doc' parameter to the schema-creation call.com.google.protobuf.ByteStringThe documentation string of the attribute, supplied via the 'doc' parameter to the schema-creation call.booleanIf true, all targets of the rule must specify a value for this attribute.getName()The name of the attribute.com.google.protobuf.ByteStringThe name of the attribute.booleanIf true, the attribute is non-configurable.getProviderNameGroup(int index) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.getProviderNameGroupBuilder(int index) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.intThe target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.getProviderNameGroupOrBuilder(int index) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.getType()The type of the attribute, defined generally by which function is invoked in the attr module.intThe type of the attribute, defined generally by which function is invoked in the attr module.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeProviderNameGroup(int index) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.setDefaultValue(String value) The string representation of the default value of this attribute.setDefaultValueBytes(com.google.protobuf.ByteString value) The string representation of the default value of this attribute.setDocString(String value) The documentation string of the attribute, supplied via the 'doc' parameter to the schema-creation call.setDocStringBytes(com.google.protobuf.ByteString value) The documentation string of the attribute, supplied via the 'doc' parameter to the schema-creation call.setMandatory(boolean value) If true, all targets of the rule must specify a value for this attribute.The name of the attribute.setNameBytes(com.google.protobuf.ByteString value) The name of the attribute.setNonconfigurable(boolean value) If true, the attribute is non-configurable.setProviderNameGroup(int index, StardocOutputProtos.ProviderNameGroup value) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.setProviderNameGroup(int index, StardocOutputProtos.ProviderNameGroup.Builder builderForValue) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list.The type of the attribute, defined generally by which function is invoked in the attr module.setTypeValue(int value) The type of the attribute, defined generally by which function is invoked in the attr module.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.AttributeInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.AttributeInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.AttributeInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StardocOutputProtos.AttributeInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StardocOutputProtos.AttributeInfo.Builder>
-
mergeFrom
public StardocOutputProtos.AttributeInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StardocOutputProtos.AttributeInfo.Builder>- Throws:
IOException
-
getName
The name of the attribute.
string name = 1;- Specified by:
getNamein interfaceStardocOutputProtos.AttributeInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the attribute.
string name = 1;- Specified by:
getNameBytesin interfaceStardocOutputProtos.AttributeInfoOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the attribute.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the attribute.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the attribute.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDocString
The documentation string of the attribute, supplied via the 'doc' parameter to the schema-creation call.
string doc_string = 2;- Specified by:
getDocStringin interfaceStardocOutputProtos.AttributeInfoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public com.google.protobuf.ByteString getDocStringBytes()The documentation string of the attribute, supplied via the 'doc' parameter to the schema-creation call.
string doc_string = 2;- Specified by:
getDocStringBytesin interfaceStardocOutputProtos.AttributeInfoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
The documentation string of the attribute, supplied via the 'doc' parameter to the schema-creation call.
string doc_string = 2;- Parameters:
value- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
The documentation string of the attribute, supplied via the 'doc' parameter to the schema-creation call.
string doc_string = 2;- Returns:
- This builder for chaining.
-
setDocStringBytes
public StardocOutputProtos.AttributeInfo.Builder setDocStringBytes(com.google.protobuf.ByteString value) The documentation string of the attribute, supplied via the 'doc' parameter to the schema-creation call.
string doc_string = 2;- Parameters:
value- The bytes for docString to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()The type of the attribute, defined generally by which function is invoked in the attr module.
.stardoc_output.AttributeType type = 3;- Specified by:
getTypeValuein interfaceStardocOutputProtos.AttributeInfoOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
The type of the attribute, defined generally by which function is invoked in the attr module.
.stardoc_output.AttributeType type = 3;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
The type of the attribute, defined generally by which function is invoked in the attr module.
.stardoc_output.AttributeType type = 3;- Specified by:
getTypein interfaceStardocOutputProtos.AttributeInfoOrBuilder- Returns:
- The type.
-
setType
The type of the attribute, defined generally by which function is invoked in the attr module.
.stardoc_output.AttributeType type = 3;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of the attribute, defined generally by which function is invoked in the attr module.
.stardoc_output.AttributeType type = 3;- Returns:
- This builder for chaining.
-
getMandatory
public boolean getMandatory()If true, all targets of the rule must specify a value for this attribute.
bool mandatory = 4;- Specified by:
getMandatoryin interfaceStardocOutputProtos.AttributeInfoOrBuilder- Returns:
- The mandatory.
-
setMandatory
If true, all targets of the rule must specify a value for this attribute.
bool mandatory = 4;- Parameters:
value- The mandatory to set.- Returns:
- This builder for chaining.
-
clearMandatory
If true, all targets of the rule must specify a value for this attribute.
bool mandatory = 4;- Returns:
- This builder for chaining.
-
getProviderNameGroupList
The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5;- Specified by:
getProviderNameGroupListin interfaceStardocOutputProtos.AttributeInfoOrBuilder
-
getProviderNameGroupCount
public int getProviderNameGroupCount()The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5;- Specified by:
getProviderNameGroupCountin interfaceStardocOutputProtos.AttributeInfoOrBuilder
-
getProviderNameGroup
The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5;- Specified by:
getProviderNameGroupin interfaceStardocOutputProtos.AttributeInfoOrBuilder
-
setProviderNameGroup
public StardocOutputProtos.AttributeInfo.Builder setProviderNameGroup(int index, StardocOutputProtos.ProviderNameGroup value) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
setProviderNameGroup
public StardocOutputProtos.AttributeInfo.Builder setProviderNameGroup(int index, StardocOutputProtos.ProviderNameGroup.Builder builderForValue) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
addProviderNameGroup
public StardocOutputProtos.AttributeInfo.Builder addProviderNameGroup(StardocOutputProtos.ProviderNameGroup value) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
addProviderNameGroup
public StardocOutputProtos.AttributeInfo.Builder addProviderNameGroup(int index, StardocOutputProtos.ProviderNameGroup value) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
addProviderNameGroup
public StardocOutputProtos.AttributeInfo.Builder addProviderNameGroup(StardocOutputProtos.ProviderNameGroup.Builder builderForValue) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
addProviderNameGroup
public StardocOutputProtos.AttributeInfo.Builder addProviderNameGroup(int index, StardocOutputProtos.ProviderNameGroup.Builder builderForValue) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
addAllProviderNameGroup
public StardocOutputProtos.AttributeInfo.Builder addAllProviderNameGroup(Iterable<? extends StardocOutputProtos.ProviderNameGroup> values) The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
clearProviderNameGroup
The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
removeProviderNameGroup
The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
getProviderNameGroupBuilder
The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
getProviderNameGroupOrBuilder
The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5;- Specified by:
getProviderNameGroupOrBuilderin interfaceStardocOutputProtos.AttributeInfoOrBuilder
-
getProviderNameGroupOrBuilderList
public List<? extends StardocOutputProtos.ProviderNameGroupOrBuilder> getProviderNameGroupOrBuilderList()The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5;- Specified by:
getProviderNameGroupOrBuilderListin interfaceStardocOutputProtos.AttributeInfoOrBuilder
-
addProviderNameGroupBuilder
The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
addProviderNameGroupBuilder
The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
getProviderNameGroupBuilderList
The target(s) in this attribute must define all the providers of at least one of the ProviderNameGroups in this list. If the Attribute Type is not a label, a label list, or a label-keyed string dictionary, the field will be left empty. For attributes of a repository rule or a module extension tag, this attribute is meaningless and may be ignored. TODO(b/290788853): ensure this field is always empty for attributes of a repository rule or a module extension tag.
repeated .stardoc_output.ProviderNameGroup provider_name_group = 5; -
getDefaultValue
The string representation of the default value of this attribute.
string default_value = 6;- Specified by:
getDefaultValuein interfaceStardocOutputProtos.AttributeInfoOrBuilder- Returns:
- The defaultValue.
-
getDefaultValueBytes
public com.google.protobuf.ByteString getDefaultValueBytes()The string representation of the default value of this attribute.
string default_value = 6;- Specified by:
getDefaultValueBytesin interfaceStardocOutputProtos.AttributeInfoOrBuilder- Returns:
- The bytes for defaultValue.
-
setDefaultValue
The string representation of the default value of this attribute.
string default_value = 6;- Parameters:
value- The defaultValue to set.- Returns:
- This builder for chaining.
-
clearDefaultValue
The string representation of the default value of this attribute.
string default_value = 6;- Returns:
- This builder for chaining.
-
setDefaultValueBytes
public StardocOutputProtos.AttributeInfo.Builder setDefaultValueBytes(com.google.protobuf.ByteString value) The string representation of the default value of this attribute.
string default_value = 6;- Parameters:
value- The bytes for defaultValue to set.- Returns:
- This builder for chaining.
-
getNonconfigurable
public boolean getNonconfigurable()If true, the attribute is non-configurable.
bool nonconfigurable = 7;- Specified by:
getNonconfigurablein interfaceStardocOutputProtos.AttributeInfoOrBuilder- Returns:
- The nonconfigurable.
-
setNonconfigurable
If true, the attribute is non-configurable.
bool nonconfigurable = 7;- Parameters:
value- The nonconfigurable to set.- Returns:
- This builder for chaining.
-
clearNonconfigurable
If true, the attribute is non-configurable.
bool nonconfigurable = 7;- Returns:
- This builder for chaining.
-