public static final class DescriptorProtos.EnumOptions.Builder extends GeneratedMessageLite.ExtendableBuilder<DescriptorProtos.EnumOptions,DescriptorProtos.EnumOptions.Builder> implements DescriptorProtos.EnumOptionsOrBuilder
google.protobuf.EnumOptionsinstance, isBuilt| Modifier and Type | Method and Description |
|---|---|
DescriptorProtos.EnumOptions.Builder |
addAllUninterpretedOption(Iterable<? extends DescriptorProtos.UninterpretedOption> values)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumOptions.Builder |
addUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumOptions.Builder |
addUninterpretedOption(DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumOptions.Builder |
addUninterpretedOption(int index,
DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumOptions.Builder |
addUninterpretedOption(int index,
DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumOptions.Builder |
clearAllowAlias()
Set this option to true to allow mapping different tag names to the same
value.
|
DescriptorProtos.EnumOptions.Builder |
clearDeprecated()
Is this enum deprecated?
Depending on the target platform, this can emit Deprecated annotations
for the enum, or it will be completely ignored; in the very least, this
is a formalization for deprecating enums.
|
DescriptorProtos.EnumOptions.Builder |
clearUninterpretedOption()
The parser stores options it doesn't recognize here.
|
boolean |
getAllowAlias()
Set this option to true to allow mapping different tag names to the same
value.
|
boolean |
getDeprecated()
Is this enum deprecated?
Depending on the target platform, this can emit Deprecated annotations
for the enum, or it will be completely ignored; in the very least, this
is a formalization for deprecating enums.
|
DescriptorProtos.UninterpretedOption |
getUninterpretedOption(int index)
The parser stores options it doesn't recognize here.
|
int |
getUninterpretedOptionCount()
The parser stores options it doesn't recognize here.
|
List<DescriptorProtos.UninterpretedOption> |
getUninterpretedOptionList()
The parser stores options it doesn't recognize here.
|
boolean |
hasAllowAlias()
Set this option to true to allow mapping different tag names to the same
value.
|
boolean |
hasDeprecated()
Is this enum deprecated?
Depending on the target platform, this can emit Deprecated annotations
for the enum, or it will be completely ignored; in the very least, this
is a formalization for deprecating enums.
|
DescriptorProtos.EnumOptions.Builder |
removeUninterpretedOption(int index)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumOptions.Builder |
setAllowAlias(boolean value)
Set this option to true to allow mapping different tag names to the same
value.
|
DescriptorProtos.EnumOptions.Builder |
setDeprecated(boolean value)
Is this enum deprecated?
Depending on the target platform, this can emit Deprecated annotations
for the enum, or it will be completely ignored; in the very least, this
is a formalization for deprecating enums.
|
DescriptorProtos.EnumOptions.Builder |
setUninterpretedOption(int index,
DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumOptions.Builder |
setUninterpretedOption(int index,
DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here.
|
addExtension, buildPartial, clearExtension, clone, copyOnWrite, getExtension, getExtension, getExtensionCount, hasExtension, setExtension, setExtensionbuild, clear, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtension, getExtension, getExtensionCount, hasExtensiongetDefaultInstanceForType, isInitializedpublic boolean hasAllowAlias()
Set this option to true to allow mapping different tag names to the same value.
optional bool allow_alias = 2;hasAllowAlias in interface DescriptorProtos.EnumOptionsOrBuilderpublic boolean getAllowAlias()
Set this option to true to allow mapping different tag names to the same value.
optional bool allow_alias = 2;getAllowAlias in interface DescriptorProtos.EnumOptionsOrBuilderpublic DescriptorProtos.EnumOptions.Builder setAllowAlias(boolean value)
Set this option to true to allow mapping different tag names to the same value.
optional bool allow_alias = 2;public DescriptorProtos.EnumOptions.Builder clearAllowAlias()
Set this option to true to allow mapping different tag names to the same value.
optional bool allow_alias = 2;public boolean hasDeprecated()
Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.
optional bool deprecated = 3 [default = false];hasDeprecated in interface DescriptorProtos.EnumOptionsOrBuilderpublic boolean getDeprecated()
Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.
optional bool deprecated = 3 [default = false];getDeprecated in interface DescriptorProtos.EnumOptionsOrBuilderpublic DescriptorProtos.EnumOptions.Builder setDeprecated(boolean value)
Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.
optional bool deprecated = 3 [default = false];public DescriptorProtos.EnumOptions.Builder clearDeprecated()
Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.
optional bool deprecated = 3 [default = false];public List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;getUninterpretedOptionList in interface DescriptorProtos.EnumOptionsOrBuilderpublic int getUninterpretedOptionCount()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;getUninterpretedOptionCount in interface DescriptorProtos.EnumOptionsOrBuilderpublic DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;getUninterpretedOption in interface DescriptorProtos.EnumOptionsOrBuilderpublic DescriptorProtos.EnumOptions.Builder setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;public DescriptorProtos.EnumOptions.Builder setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;public DescriptorProtos.EnumOptions.Builder addUninterpretedOption(DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;public DescriptorProtos.EnumOptions.Builder addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;public DescriptorProtos.EnumOptions.Builder addUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;public DescriptorProtos.EnumOptions.Builder addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;public DescriptorProtos.EnumOptions.Builder addAllUninterpretedOption(Iterable<? extends DescriptorProtos.UninterpretedOption> values)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;public DescriptorProtos.EnumOptions.Builder clearUninterpretedOption()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;public DescriptorProtos.EnumOptions.Builder removeUninterpretedOption(int index)
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;Copyright © 2008–2016 Google. All rights reserved.