Interface PythonSettings.ExperimentalFeaturesOrBuilder

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

public static interface PythonSettings.ExperimentalFeaturesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 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.
    boolean
    Disables generation of an unversioned Python package for this client library.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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;
      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;
      Returns:
      The protobufPythonicTypesEnabled.
    • getUnversionedPackageDisabled

      boolean getUnversionedPackageDisabled()
       Disables generation of an unversioned Python package for this client
       library. This means that the module names will need to be versioned in
       import statements. For example `import google.cloud.library_v2` instead
       of `import google.cloud.library`.
       
      bool unversioned_package_disabled = 3;
      Returns:
      The unversionedPackageDisabled.