public static final class CppSettings.Builder extends GeneratedMessageV3.Builder<CppSettings.Builder> implements CppSettingsOrBuilder
Settings for C++ client libraries.
Protobuf type google.api.CppSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CppSettings.BuilderImplements
CppSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CppSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
build()
public CppSettings build()
Returns | |
---|---|
Type | Description |
CppSettings |
buildPartial()
public CppSettings buildPartial()
Returns | |
---|---|
Type | Description |
CppSettings |
clear()
public CppSettings.Builder clear()
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
clearCommon()
public CppSettings.Builder clearCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public CppSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CppSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
clone()
public CppSettings.Builder clone()
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
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 CppSettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CppSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCommon(CommonLanguageSettings value)
public CppSettings.Builder mergeCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
Parameter | |
---|---|
Name | Description |
value |
CommonLanguageSettings |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
mergeFrom(CppSettings other)
public CppSettings.Builder mergeFrom(CppSettings other)
Parameter | |
---|---|
Name | Description |
other |
CppSettings |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CppSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CppSettings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CppSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
setCommon(CommonLanguageSettings value)
public CppSettings.Builder setCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
Parameter | |
---|---|
Name | Description |
value |
CommonLanguageSettings |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
setCommon(CommonLanguageSettings.Builder builderForValue)
public CppSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)
Some settings.
.google.api.CommonLanguageSettings common = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
CommonLanguageSettings.Builder |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CppSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CppSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CppSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CppSettings.Builder |