- 2.65.1 (latest)
- 2.65.0
- 2.64.1
- 2.63.2
- 2.62.0
- 2.61.3
- 2.60.0
- 2.59.2
- 2.58.0
- 2.57.0
- 2.56.0
- 2.54.1
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.1
- 2.49.0
- 2.48.0
- 2.46.0
- 2.45.1
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.1
- 2.38.0
- 2.37.1
- 2.36.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.1
- 2.24.0
- 2.23.1
- 2.22.1
- 2.21.1
- 2.15.0
- 2.14.3
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.6
- 2.8.4
- 2.7.4
public static final class PythonSettings.ExperimentalFeatures.Builder extends GeneratedMessage.Builder<PythonSettings.ExperimentalFeatures.Builder> implements PythonSettings.ExperimentalFeaturesOrBuilderExperimental 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PythonSettings.ExperimentalFeatures.BuilderImplements
PythonSettings.ExperimentalFeaturesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PythonSettings.ExperimentalFeatures build()| Returns | |
|---|---|
| Type | Description |
PythonSettings.ExperimentalFeatures |
|
buildPartial()
public PythonSettings.ExperimentalFeatures buildPartial()| Returns | |
|---|---|
| Type | Description |
PythonSettings.ExperimentalFeatures |
|
clear()
public PythonSettings.ExperimentalFeatures.Builder clear()| Returns | |
|---|---|
| Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
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;
| Returns | |
|---|---|
| Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
This builder for chaining. |
clearUnversionedPackageDisabled()
public PythonSettings.ExperimentalFeatures.Builder clearUnversionedPackageDisabled() 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 |
PythonSettings.ExperimentalFeatures.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PythonSettings.ExperimentalFeatures getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PythonSettings.ExperimentalFeatures |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PythonSettings.ExperimentalFeatures other)
public PythonSettings.ExperimentalFeatures.Builder mergeFrom(PythonSettings.ExperimentalFeatures other)| Parameter | |
|---|---|
| Name | Description |
other |
PythonSettings.ExperimentalFeatures |
| Returns | |
|---|---|
| Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PythonSettings.ExperimentalFeatures.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PythonSettings.ExperimentalFeatures.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
|
setProtobufPythonicTypesEnabled(boolean value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe protobufPythonicTypesEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
This builder for chaining. |
setRestAsyncIoEnabled(boolean value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe restAsyncIoEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
This builder for chaining. |
setUnversionedPackageDisabled(boolean value)
public PythonSettings.ExperimentalFeatures.Builder setUnversionedPackageDisabled(boolean value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe unversionedPackageDisabled to set. |
| Returns | |
|---|---|
| Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
This builder for chaining. |