Package com.google.api
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 TypeMethodDescriptionboolean
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
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.
-
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 [json_name = "unversionedPackageDisabled"];
- Returns:
- The unversionedPackageDisabled.
-