Class PythonSettings.Types.ExperimentalFeatures (2.17.0)
public sealed class PythonSettings.Types.ExperimentalFeatures : IMessage<PythonSettings.Types.ExperimentalFeatures>, IEquatable<PythonSettings.Types.ExperimentalFeatures>, IDeepCloneable<PythonSettings.Types.ExperimentalFeatures>, IBufferMessage, IMessage
Experimental features to be included during client library generation.
These fields will be deprecated once the feature graduates and is enabled
by default.
Inheritance
object >
PythonSettings.Types.ExperimentalFeatures
Namespace
Google.Api
Assembly
Google.Api.CommonProtos.dll
Constructors
ExperimentalFeatures()
public ExperimentalFeatures()
ExperimentalFeatures(ExperimentalFeatures)
public ExperimentalFeatures(PythonSettings.Types.ExperimentalFeatures other)
Fields
ProtobufPythonicTypesEnabledFieldNumber
public const int ProtobufPythonicTypesEnabledFieldNumber = 2
Field number for the "protobuf_pythonic_types_enabled" field.
Field Value |
Type |
Description |
int |
|
RestAsyncIoEnabledFieldNumber
public const int RestAsyncIoEnabledFieldNumber = 1
Field number for the "rest_async_io_enabled" field.
Field Value |
Type |
Description |
int |
|
UnversionedPackageDisabledFieldNumber
public const int UnversionedPackageDisabledFieldNumber = 3
Field number for the "unversioned_package_disabled" field.
Field Value |
Type |
Description |
int |
|
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Parser
public static MessageParser<PythonSettings.Types.ExperimentalFeatures> Parser { get; }
ProtobufPythonicTypesEnabled
public bool ProtobufPythonicTypesEnabled { get; set; }
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.
Property Value |
Type |
Description |
bool |
|
RestAsyncIoEnabled
public bool RestAsyncIoEnabled { get; set; }
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.
Property Value |
Type |
Description |
bool |
|
UnversionedPackageDisabled
public bool UnversionedPackageDisabled { get; set; }
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
.
Property Value |
Type |
Description |
bool |
|
Methods
CalculateSize()
public int CalculateSize()
Returns |
Type |
Description |
int |
|
Clone()
public PythonSettings.Types.ExperimentalFeatures Clone()
Equals(ExperimentalFeatures)
public bool Equals(PythonSettings.Types.ExperimentalFeatures other)
Returns |
Type |
Description |
bool |
|
Equals(object)
public override bool Equals(object other)
Parameter |
Name |
Description |
other |
object
|
Returns |
Type |
Description |
bool |
|
Overrides
GetHashCode()
public override int GetHashCode()
Returns |
Type |
Description |
int |
|
Overrides
MergeFrom(ExperimentalFeatures)
public void MergeFrom(PythonSettings.Types.ExperimentalFeatures other)
public void MergeFrom(CodedInputStream input)
ToString()
public override string ToString()
Returns |
Type |
Description |
string |
|
Overrides
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]