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 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

      DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
       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

      DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
       The parser stores options it doesn't recognize here. See above.
       
      repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
    • 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

       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.