Package com.google.api
Class PythonSettings.ExperimentalFeatures.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<PythonSettings.ExperimentalFeatures,PythonSettings.ExperimentalFeatures.Builder>
com.google.api.PythonSettings.ExperimentalFeatures.Builder
- All Implemented Interfaces:
PythonSettings.ExperimentalFeaturesOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- PythonSettings.ExperimentalFeatures
public static final class PythonSettings.ExperimentalFeatures.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<PythonSettings.ExperimentalFeatures,PythonSettings.ExperimentalFeatures.Builder>
implements PythonSettings.ExperimentalFeaturesOrBuilder
Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.Protobuf type
google.api.PythonSettings.ExperimentalFeatures
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionEnables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`.Enables generation of asynchronous REST clients if `rest` transport is enabled.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.setProtobufPythonicTypesEnabled
(boolean value) Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`.setRestAsyncIoEnabled
(boolean value) Enables generation of asynchronous REST clients if `rest` transport is enabled.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getRestAsyncIoEnabled
public 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"];
- Specified by:
getRestAsyncIoEnabled
in interfacePythonSettings.ExperimentalFeaturesOrBuilder
- Returns:
- The restAsyncIoEnabled.
-
setRestAsyncIoEnabled
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"];
- Parameters:
value
- The restAsyncIoEnabled to set.- Returns:
- This builder for chaining.
-
clearRestAsyncIoEnabled
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:
- This builder for chaining.
-
getProtobufPythonicTypesEnabled
public 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"];
- Specified by:
getProtobufPythonicTypesEnabled
in interfacePythonSettings.ExperimentalFeaturesOrBuilder
- Returns:
- The protobufPythonicTypesEnabled.
-
setProtobufPythonicTypesEnabled
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"];
- Parameters:
value
- The protobufPythonicTypesEnabled to set.- Returns:
- This builder for chaining.
-
clearProtobufPythonicTypesEnabled
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:
- This builder for chaining.
-