Package com.google.protobuf
Interface DescriptorProtos.ExtensionRangeOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.ExtensionRangeOptions,,DescriptorProtos.ExtensionRangeOptions.Builder> com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
DescriptorProtos.ExtensionRangeOptions,DescriptorProtos.ExtensionRangeOptions.Builder
- Enclosing class:
- DescriptorProtos
public static interface DescriptorProtos.ExtensionRangeOptionsOrBuilder
extends com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.ExtensionRangeOptions,DescriptorProtos.ExtensionRangeOptions.Builder>
-
Method Summary
Modifier and TypeMethodDescriptiongetDeclaration(int index) go/protobuf-stripping-extension-declarations Like Metadata, but we use a repeated field to hold all extension declarations.intgo/protobuf-stripping-extension-declarations Like Metadata, but we use a repeated field to hold all extension declarations.go/protobuf-stripping-extension-declarations Like Metadata, but we use a repeated field to hold all extension declarations.getUninterpretedOption(int index) The parser stores options it doesn't recognize here.intThe parser stores options it doesn't recognize here.The parser stores options it doesn't recognize here.The verification state of the range.booleanThe verification state of the range.Methods inherited from interface com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtensionMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getUninterpretedOptionList
List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"]; -
getUninterpretedOption
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"]; -
getUninterpretedOptionCount
int getUninterpretedOptionCount()The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"]; -
getDeclarationList
List<DescriptorProtos.ExtensionRangeOptions.Declaration> getDeclarationList()go/protobuf-stripping-extension-declarations Like Metadata, but we use a repeated field to hold all extension declarations. This should avoid the size increases of transforming a large extension range into small ranges in generated binaries.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE]; -
getDeclaration
go/protobuf-stripping-extension-declarations Like Metadata, but we use a repeated field to hold all extension declarations. This should avoid the size increases of transforming a large extension range into small ranges in generated binaries.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE]; -
getDeclarationCount
int getDeclarationCount()go/protobuf-stripping-extension-declarations Like Metadata, but we use a repeated field to hold all extension declarations. This should avoid the size increases of transforming a large extension range into small ranges in generated binaries.
repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [json_name = "declaration", retention = RETENTION_SOURCE]; -
hasVerification
boolean hasVerification()The verification state of the range. TODO(b/278783756): flip the default to DECLARATION once all empty ranges are marked as UNVERIFIED.
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification"];- Returns:
- Whether the verification field is set.
-
getVerification
DescriptorProtos.ExtensionRangeOptions.VerificationState getVerification()The verification state of the range. TODO(b/278783756): flip the default to DECLARATION once all empty ranges are marked as UNVERIFIED.
optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, json_name = "verification"];- Returns:
- The verification.
-