public static final class DescriptorProtos.EnumValueOptions.Builder extends GeneratedMessageLite.ExtendableBuilder<DescriptorProtos.EnumValueOptions,DescriptorProtos.EnumValueOptions.Builder> implements DescriptorProtos.EnumValueOptionsOrBuilder
google.protobuf.EnumValueOptions
instance, isBuilt
Modifier and Type | Method and Description |
---|---|
DescriptorProtos.EnumValueOptions.Builder |
addAllUninterpretedOption(Iterable<? extends DescriptorProtos.UninterpretedOption> values)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumValueOptions.Builder |
addUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumValueOptions.Builder |
addUninterpretedOption(DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumValueOptions.Builder |
addUninterpretedOption(int index,
DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumValueOptions.Builder |
addUninterpretedOption(int index,
DescriptorProtos.UninterpretedOption value)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumValueOptions.Builder |
clearDeprecated()
Is this enum value deprecated?
Depending on the target platform, this can emit Deprecated annotations
for the enum value, or it will be completely ignored; in the very least,
this is a formalization for deprecating enum values.
|
DescriptorProtos.EnumValueOptions.Builder |
clearUninterpretedOption()
The parser stores options it doesn't recognize here.
|
boolean |
getDeprecated()
Is this enum value deprecated?
Depending on the target platform, this can emit Deprecated annotations
for the enum value, or it will be completely ignored; in the very least,
this is a formalization for deprecating enum values.
|
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 |
hasDeprecated()
Is this enum value deprecated?
Depending on the target platform, this can emit Deprecated annotations
for the enum value, or it will be completely ignored; in the very least,
this is a formalization for deprecating enum values.
|
DescriptorProtos.EnumValueOptions.Builder |
removeUninterpretedOption(int index)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumValueOptions.Builder |
setDeprecated(boolean value)
Is this enum value deprecated?
Depending on the target platform, this can emit Deprecated annotations
for the enum value, or it will be completely ignored; in the very least,
this is a formalization for deprecating enum values.
|
DescriptorProtos.EnumValueOptions.Builder |
setUninterpretedOption(int index,
DescriptorProtos.UninterpretedOption.Builder builderForValue)
The parser stores options it doesn't recognize here.
|
DescriptorProtos.EnumValueOptions.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 hasDeprecated()
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.
optional bool deprecated = 1 [default = false];
hasDeprecated
in interface DescriptorProtos.EnumValueOptionsOrBuilder
public boolean getDeprecated()
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.
optional bool deprecated = 1 [default = false];
getDeprecated
in interface DescriptorProtos.EnumValueOptionsOrBuilder
public DescriptorProtos.EnumValueOptions.Builder setDeprecated(boolean value)
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.
optional bool deprecated = 1 [default = false];
public DescriptorProtos.EnumValueOptions.Builder clearDeprecated()
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.
optional bool deprecated = 1 [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.EnumValueOptionsOrBuilder
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.EnumValueOptionsOrBuilder
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.EnumValueOptionsOrBuilder
public DescriptorProtos.EnumValueOptions.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.EnumValueOptions.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.EnumValueOptions.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.EnumValueOptions.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.EnumValueOptions.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.EnumValueOptions.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.EnumValueOptions.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.EnumValueOptions.Builder clearUninterpretedOption()
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
public DescriptorProtos.EnumValueOptions.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.