Interface DescriptorProtos.MethodOptionsOrBuilder

    • Method Detail

      • hasDeprecated

        boolean hasDeprecated()
         Is this method deprecated?
         Depending on the target platform, this can emit Deprecated annotations
         for the method, or it will be completely ignored; in the very least,
         this is a formalization for deprecating methods.
         
        optional bool deprecated = 33 [default = false];
        Returns:
        Whether the deprecated field is set.
      • getDeprecated

        boolean getDeprecated()
         Is this method deprecated?
         Depending on the target platform, this can emit Deprecated annotations
         for the method, or it will be completely ignored; in the very least,
         this is a formalization for deprecating methods.
         
        optional bool deprecated = 33 [default = false];
        Returns:
        The deprecated.
      • hasIdempotencyLevel

        boolean hasIdempotencyLevel()
        optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
        Returns:
        Whether the idempotencyLevel field is set.
      • getIdempotencyLevel

        DescriptorProtos.MethodOptions.IdempotencyLevel getIdempotencyLevel()
        optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
        Returns:
        The idempotencyLevel.
      • hasFeatures

        boolean hasFeatures()
         Any features defined in the specific edition.
         WARNING: This field should only be used by protobuf plugins or special
         cases like the proto compiler. Other uses are discouraged and
         developers should rely on the protoreflect APIs for their client language.
         
        optional .google.protobuf.FeatureSet features = 35;
        Returns:
        Whether the features field is set.
      • getFeatures

        DescriptorProtos.FeatureSet getFeatures()
         Any features defined in the specific edition.
         WARNING: This field should only be used by protobuf plugins or special
         cases like the proto compiler. Other uses are discouraged and
         developers should rely on the protoreflect APIs for their client language.
         
        optional .google.protobuf.FeatureSet features = 35;
        Returns:
        The features.
      • getUninterpretedOptionList

        java.util.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;