Class PythonSettings.Builder (2.39.0)

public static final class PythonSettings.Builder extends GeneratedMessageV3.Builder<PythonSettings.Builder> implements PythonSettingsOrBuilder

Settings for Python client libraries.

Protobuf type google.api.PythonSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PythonSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PythonSettings.Builder
Overrides

build()

public PythonSettings build()
Returns
Type Description
PythonSettings

buildPartial()

public PythonSettings buildPartial()
Returns
Type Description
PythonSettings

clear()

public PythonSettings.Builder clear()
Returns
Type Description
PythonSettings.Builder
Overrides

clearCommon()

public PythonSettings.Builder clearCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
PythonSettings.Builder

clearField(Descriptors.FieldDescriptor field)

public PythonSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PythonSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PythonSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PythonSettings.Builder
Overrides

clone()

public PythonSettings.Builder clone()
Returns
Type Description
PythonSettings.Builder
Overrides

getCommon()

public CommonLanguageSettings getCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
CommonLanguageSettings

The common.

getCommonBuilder()

public CommonLanguageSettings.Builder getCommonBuilder()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
CommonLanguageSettings.Builder

getCommonOrBuilder()

public CommonLanguageSettingsOrBuilder getCommonOrBuilder()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
CommonLanguageSettingsOrBuilder

getDefaultInstanceForType()

public PythonSettings getDefaultInstanceForType()
Returns
Type Description
PythonSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasCommon()

public boolean hasCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
boolean

Whether the common field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCommon(CommonLanguageSettings value)

public PythonSettings.Builder mergeCommon(CommonLanguageSettings value)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
Name Description
value CommonLanguageSettings
Returns
Type Description
PythonSettings.Builder

mergeFrom(PythonSettings other)

public PythonSettings.Builder mergeFrom(PythonSettings other)
Parameter
Name Description
other PythonSettings
Returns
Type Description
PythonSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PythonSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PythonSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PythonSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PythonSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PythonSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PythonSettings.Builder
Overrides

setCommon(CommonLanguageSettings value)

public PythonSettings.Builder setCommon(CommonLanguageSettings value)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
Name Description
value CommonLanguageSettings
Returns
Type Description
PythonSettings.Builder

setCommon(CommonLanguageSettings.Builder builderForValue)

public PythonSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
Name Description
builderForValue CommonLanguageSettings.Builder
Returns
Type Description
PythonSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PythonSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PythonSettings.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PythonSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PythonSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PythonSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PythonSettings.Builder
Overrides