Class PythonSettings.ExperimentalFeatures (2.49.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PythonSettings.ExperimentalFeatures

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

Static Methods

getDefaultInstance()

public static PythonSettings.ExperimentalFeatures getDefaultInstance()
Returns
Type Description
PythonSettings.ExperimentalFeatures

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PythonSettings.ExperimentalFeatures.Builder newBuilder()
Returns
Type Description
PythonSettings.ExperimentalFeatures.Builder

newBuilder(PythonSettings.ExperimentalFeatures prototype)

public static PythonSettings.ExperimentalFeatures.Builder newBuilder(PythonSettings.ExperimentalFeatures prototype)
Parameter
Name Description
prototype PythonSettings.ExperimentalFeatures
Returns
Type Description
PythonSettings.ExperimentalFeatures.Builder

parseDelimitedFrom(InputStream input)

public static PythonSettings.ExperimentalFeatures parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PythonSettings.ExperimentalFeatures
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PythonSettings.ExperimentalFeatures parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PythonSettings.ExperimentalFeatures
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PythonSettings.ExperimentalFeatures parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PythonSettings.ExperimentalFeatures
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PythonSettings.ExperimentalFeatures parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PythonSettings.ExperimentalFeatures
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PythonSettings.ExperimentalFeatures parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PythonSettings.ExperimentalFeatures
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PythonSettings.ExperimentalFeatures parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PythonSettings.ExperimentalFeatures
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PythonSettings.ExperimentalFeatures parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PythonSettings.ExperimentalFeatures
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PythonSettings.ExperimentalFeatures parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PythonSettings.ExperimentalFeatures
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PythonSettings.ExperimentalFeatures parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PythonSettings.ExperimentalFeatures
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PythonSettings.ExperimentalFeatures parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PythonSettings.ExperimentalFeatures
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PythonSettings.ExperimentalFeatures parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PythonSettings.ExperimentalFeatures
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PythonSettings.ExperimentalFeatures parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PythonSettings.ExperimentalFeatures
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PythonSettings.ExperimentalFeatures> parser()
Returns
Type Description
Parser<ExperimentalFeatures>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PythonSettings.ExperimentalFeatures getDefaultInstanceForType()
Returns
Type Description
PythonSettings.ExperimentalFeatures

getParserForType()

public Parser<PythonSettings.ExperimentalFeatures> getParserForType()
Returns
Type Description
Parser<ExperimentalFeatures>
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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PythonSettings.ExperimentalFeatures.Builder newBuilderForType()
Returns
Type Description
PythonSettings.ExperimentalFeatures.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PythonSettings.ExperimentalFeatures.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PythonSettings.ExperimentalFeatures.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PythonSettings.ExperimentalFeatures.Builder toBuilder()
Returns
Type Description
PythonSettings.ExperimentalFeatures.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException