Class CppSettings.Builder (2.25.1)

public static final class CppSettings.Builder extends GeneratedMessageV3.Builder<CppSettings.Builder> implements CppSettingsOrBuilder

Settings for C++ client libraries.

Protobuf type google.api.CppSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CppSettings build()
Returns
TypeDescription
CppSettings

buildPartial()

public CppSettings buildPartial()
Returns
TypeDescription
CppSettings

clear()

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

clearCommon()

public CppSettings.Builder clearCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
CppSettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CppSettings.Builder clone()
Returns
TypeDescription
CppSettings.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 CppSettings getDefaultInstanceForType()
Returns
TypeDescription
CppSettings

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 CppSettings.Builder mergeCommon(CommonLanguageSettings value)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
valueCommonLanguageSettings
Returns
TypeDescription
CppSettings.Builder

mergeFrom(CppSettings other)

public CppSettings.Builder mergeFrom(CppSettings other)
Parameter
NameDescription
otherCppSettings
Returns
TypeDescription
CppSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommon(CommonLanguageSettings value)

public CppSettings.Builder setCommon(CommonLanguageSettings value)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
valueCommonLanguageSettings
Returns
TypeDescription
CppSettings.Builder

setCommon(CommonLanguageSettings.Builder builderForValue)

public CppSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
builderForValueCommonLanguageSettings.Builder
Returns
TypeDescription
CppSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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