Interface PythonSettings.ExperimentalFeaturesOrBuilder (2.50.0)

public static interface PythonSettings.ExperimentalFeaturesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProtobufPythonicTypesEnabled()

public abstract 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
Type Description
boolean

The protobufPythonicTypesEnabled.

getRestAsyncIoEnabled()

public abstract 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
Type Description
boolean

The restAsyncIoEnabled.