public static final class DescriptorProtos.EnumOptions.Builder extends GeneratedMessageLite.ExtendableBuilder<DescriptorProtos.EnumOptions,DescriptorProtos.EnumOptions.Builder> implements DescriptorProtos.EnumOptionsOrBuilder
google.protobuf.EnumOptions
instance, 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, setExtension
build, clear, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom
addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtension, getExtension, getExtensionCount, hasExtension
getDefaultInstanceForType, isInitialized
public 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.EnumOptionsOrBuilder
public 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.EnumOptionsOrBuilder
public 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.EnumOptionsOrBuilder
public 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.EnumOptionsOrBuilder
public 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.EnumOptionsOrBuilder
public int getUninterpretedOptionCount()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
getUninterpretedOptionCount
in interface DescriptorProtos.EnumOptionsOrBuilder
public 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.EnumOptionsOrBuilder
public 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.