public static final class PythonSettings.ExperimentalFeatures.Builder extends GeneratedMessageV3.Builder<PythonSettings.ExperimentalFeatures.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PythonSettings.ExperimentalFeatures.BuilderImplements
PythonSettings.ExperimentalFeaturesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PythonSettings.ExperimentalFeatures.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public PythonSettings.ExperimentalFeatures.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PythonSettings.ExperimentalFeatures.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
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. |
clone()
public PythonSettings.ExperimentalFeatures.Builder clone()
Returns | |
---|---|
Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
getDefaultInstanceForType()
public PythonSettings.ExperimentalFeatures getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PythonSettings.ExperimentalFeatures |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PythonSettings.ExperimentalFeatures.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PythonSettings.ExperimentalFeatures.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PythonSettings.ExperimentalFeatures.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
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 |
boolean The restAsyncIoEnabled to set. |
Returns | |
---|---|
Type | Description |
PythonSettings.ExperimentalFeatures.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PythonSettings.ExperimentalFeatures.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PythonSettings.ExperimentalFeatures.Builder |