Class PythonSettings.ExperimentalFeatures (2.61.3)
public static final class PythonSettings.ExperimentalFeatures extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PROTOBUF_PYTHONIC_TYPES_ENABLED_FIELD_NUMBER
public static final int PROTOBUF_PYTHONIC_TYPES_ENABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REST_ASYNC_IO_ENABLED_FIELD_NUMBER
public static final int REST_ASYNC_IO_ENABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UNVERSIONED_PACKAGE_DISABLED_FIELD_NUMBER
public static final int UNVERSIONED_PACKAGE_DISABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PythonSettings.ExperimentalFeatures getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PythonSettings.ExperimentalFeatures.Builder newBuilder()
newBuilder(PythonSettings.ExperimentalFeatures prototype)
public static PythonSettings.ExperimentalFeatures.Builder newBuilder(PythonSettings.ExperimentalFeatures prototype)
public static PythonSettings.ExperimentalFeatures parseDelimitedFrom(InputStream input)
public static PythonSettings.ExperimentalFeatures parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PythonSettings.ExperimentalFeatures parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PythonSettings.ExperimentalFeatures parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PythonSettings.ExperimentalFeatures parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PythonSettings.ExperimentalFeatures parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PythonSettings.ExperimentalFeatures parseFrom(CodedInputStream input)
public static PythonSettings.ExperimentalFeatures parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PythonSettings.ExperimentalFeatures parseFrom(InputStream input)
public static PythonSettings.ExperimentalFeatures parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PythonSettings.ExperimentalFeatures parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PythonSettings.ExperimentalFeatures parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PythonSettings.ExperimentalFeatures> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public PythonSettings.ExperimentalFeatures getDefaultInstanceForType()
getParserForType()
public Parser<PythonSettings.ExperimentalFeatures> getParserForType()
Overrides
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;
Returns |
Type |
Description |
boolean |
The protobufPythonicTypesEnabled.
|
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;
Returns |
Type |
Description |
boolean |
The restAsyncIoEnabled.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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;
Returns |
Type |
Description |
boolean |
The unversionedPackageDisabled.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PythonSettings.ExperimentalFeatures.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PythonSettings.ExperimentalFeatures.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PythonSettings.ExperimentalFeatures.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]