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
  • 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 interface PythonSettings.ExperimentalFeaturesOrBuilder
      Returns:
      The restAsyncIoEnabled.
    • setRestAsyncIoEnabled

      public PythonSettings.ExperimentalFeatures.Builder setRestAsyncIoEnabled(boolean value)
       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

      public PythonSettings.ExperimentalFeatures.Builder 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 interface PythonSettings.ExperimentalFeaturesOrBuilder
      Returns:
      The protobufPythonicTypesEnabled.
    • setProtobufPythonicTypesEnabled

      public PythonSettings.ExperimentalFeatures.Builder setProtobufPythonicTypesEnabled(boolean value)
       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

      public PythonSettings.ExperimentalFeatures.Builder 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.