Class PythonSettings.ExperimentalFeatures

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.api.PythonSettings.ExperimentalFeatures
All Implemented Interfaces:
PythonSettings.ExperimentalFeaturesOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
PythonSettings

public static final class PythonSettings.ExperimentalFeatures extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • REST_ASYNC_IO_ENABLED_FIELD_NUMBER

      public static final int REST_ASYNC_IO_ENABLED_FIELD_NUMBER
      See Also:
    • PROTOBUF_PYTHONIC_TYPES_ENABLED_FIELD_NUMBER

      public static final int PROTOBUF_PYTHONIC_TYPES_ENABLED_FIELD_NUMBER
      See Also:
    • UNVERSIONED_PACKAGE_DISABLED_FIELD_NUMBER

      public static final int UNVERSIONED_PACKAGE_DISABLED_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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;
      Specified by:
      getRestAsyncIoEnabled in interface PythonSettings.ExperimentalFeaturesOrBuilder
      Returns:
      The restAsyncIoEnabled.
    • 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;
      Specified by:
      getProtobufPythonicTypesEnabled in interface PythonSettings.ExperimentalFeaturesOrBuilder
      Returns:
      The protobufPythonicTypesEnabled.
    • getUnversionedPackageDisabled

      public 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;
      Specified by:
      getUnversionedPackageDisabled in interface PythonSettings.ExperimentalFeaturesOrBuilder
      Returns:
      The unversionedPackageDisabled.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PythonSettings.ExperimentalFeatures parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PythonSettings.ExperimentalFeatures parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PythonSettings.ExperimentalFeatures parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PythonSettings.ExperimentalFeatures parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PythonSettings.ExperimentalFeatures parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PythonSettings.ExperimentalFeatures parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PythonSettings.ExperimentalFeatures parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PythonSettings.ExperimentalFeatures parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PythonSettings.ExperimentalFeatures parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PythonSettings.ExperimentalFeatures parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PythonSettings.ExperimentalFeatures parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PythonSettings.ExperimentalFeatures parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PythonSettings.ExperimentalFeatures.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PythonSettings.ExperimentalFeatures.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PythonSettings.ExperimentalFeatures.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PythonSettings.ExperimentalFeatures getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PythonSettings.ExperimentalFeatures> parser()
    • getParserForType

      public com.google.protobuf.Parser<PythonSettings.ExperimentalFeatures> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PythonSettings.ExperimentalFeatures getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder