Package com.google.protobuf
Interface DescriptorProtos.ExtensionRangeOptionsOrBuilder
- All Superinterfaces:
GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.ExtensionRangeOptions>
,MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
DescriptorProtos.ExtensionRangeOptions
,DescriptorProtos.ExtensionRangeOptions.Builder
- Enclosing class:
- DescriptorProtos
public static interface DescriptorProtos.ExtensionRangeOptionsOrBuilder
extends GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.ExtensionRangeOptions>
-
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.int
go/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.getDeclarationOrBuilder
(int index) go/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.int
The parser stores options it doesn't recognize here.The parser stores options it doesn't recognize here.getUninterpretedOptionOrBuilder
(int index) The parser stores options it doesn't recognize here.The parser stores options it doesn't recognize here.The verification state of the range.boolean
The verification state of the range.Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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;
-
getUninterpretedOption
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
getUninterpretedOptionCount
int getUninterpretedOptionCount()The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
getUninterpretedOptionOrBuilderList
List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
getUninterpretedOptionOrBuilder
The parser stores options it doesn't recognize here. See above.
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
-
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 [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 [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 [retention = RETENTION_SOURCE];
-
getDeclarationOrBuilderList
List<? extends DescriptorProtos.ExtensionRangeOptions.DeclarationOrBuilder> getDeclarationOrBuilderList()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 [retention = RETENTION_SOURCE];
-
getDeclarationOrBuilder
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 [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];
- 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];
- Returns:
- The verification.
-