Interface PythonSettings.ExperimentalFeaturesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
PythonSettings.ExperimentalFeatures, PythonSettings.ExperimentalFeatures.Builder
Enclosing class:
PythonSettings

public static interface PythonSettings.ExperimentalFeaturesOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`.
    boolean
    Enables generation of asynchronous REST clients if `rest` transport is enabled.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getRestAsyncIoEnabled

      boolean getRestAsyncIoEnabled()
       Enables generation of asynchronous REST clients if `rest` transport is
       enabled. By default, asynchronous REST clients will not be generated.
       This feature will be enabled by default 1 month after launching the
       feature in preview packages.
       
      bool rest_async_io_enabled = 1 [json_name = "restAsyncIoEnabled"];
      Returns:
      The restAsyncIoEnabled.
    • getProtobufPythonicTypesEnabled

      boolean getProtobufPythonicTypesEnabled()
       Enables generation of protobuf code using new types that are more
       Pythonic which are included in `protobuf>=5.29.x`. This feature will be
       enabled by default 1 month after launching the feature in preview
       packages.
       
      bool protobuf_pythonic_types_enabled = 2 [json_name = "protobufPythonicTypesEnabled"];
      Returns:
      The protobufPythonicTypesEnabled.