Class PythonSettings.Builder (2.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PythonSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PythonSettings.Builder
Overrides

build()

public PythonSettings build()
Returns
TypeDescription
PythonSettings

buildPartial()

public PythonSettings buildPartial()
Returns
TypeDescription
PythonSettings

clear()

public PythonSettings.Builder clear()
Returns
TypeDescription
PythonSettings.Builder
Overrides

clearCommon()

public PythonSettings.Builder clearCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
PythonSettings.Builder

clearField(Descriptors.FieldDescriptor field)

public PythonSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PythonSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PythonSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PythonSettings.Builder
Overrides

clone()

public PythonSettings.Builder clone()
Returns
TypeDescription
PythonSettings.Builder
Overrides

getCommon()

public CommonLanguageSettings getCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
CommonLanguageSettings

The common.

getCommonBuilder()

public CommonLanguageSettings.Builder getCommonBuilder()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
CommonLanguageSettings.Builder

getCommonOrBuilder()

public CommonLanguageSettingsOrBuilder getCommonOrBuilder()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
CommonLanguageSettingsOrBuilder

getDefaultInstanceForType()

public PythonSettings getDefaultInstanceForType()
Returns
TypeDescription
PythonSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCommon()

public boolean hasCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
boolean

Whether the common field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCommon(CommonLanguageSettings value)

public PythonSettings.Builder mergeCommon(CommonLanguageSettings value)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
valueCommonLanguageSettings
Returns
TypeDescription
PythonSettings.Builder

mergeFrom(PythonSettings other)

public PythonSettings.Builder mergeFrom(PythonSettings other)
Parameter
NameDescription
otherPythonSettings
Returns
TypeDescription
PythonSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PythonSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PythonSettings.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PythonSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PythonSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PythonSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PythonSettings.Builder
Overrides

setCommon(CommonLanguageSettings value)

public PythonSettings.Builder setCommon(CommonLanguageSettings value)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
valueCommonLanguageSettings
Returns
TypeDescription
PythonSettings.Builder

setCommon(CommonLanguageSettings.Builder builderForValue)

public PythonSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
builderForValueCommonLanguageSettings.Builder
Returns
TypeDescription
PythonSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PythonSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PythonSettings.Builder
Overrides

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

public PythonSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PythonSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PythonSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PythonSettings.Builder
Overrides