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)
Parameter
Name Description
other PythonSettingsTypesExperimentalFeatures

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; }
Property Value
Type Description
MessageDescriptor

Parser

public static MessageParser<PythonSettings.Types.ExperimentalFeatures> Parser { get; }
Property Value
Type Description
MessageParserPythonSettingsTypesExperimentalFeatures

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()
Returns
Type Description
PythonSettingsTypesExperimentalFeatures

Equals(ExperimentalFeatures)

public bool Equals(PythonSettings.Types.ExperimentalFeatures other)
Parameter
Name Description
other PythonSettingsTypesExperimentalFeatures
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)
Parameter
Name Description
other PythonSettingsTypesExperimentalFeatures

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream

ToString()

public override string ToString()
Returns
Type Description
string
Overrides

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream