Class DotnetSettings.Builder (2.15.0)

public static final class DotnetSettings.Builder extends GeneratedMessageV3.Builder<DotnetSettings.Builder> implements DotnetSettingsOrBuilder

Settings for Dotnet client libraries.

Protobuf type google.api.DotnetSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DotnetSettings build()
Returns
TypeDescription
DotnetSettings

buildPartial()

public DotnetSettings buildPartial()
Returns
TypeDescription
DotnetSettings

clear()

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

clearCommon()

public DotnetSettings.Builder clearCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
DotnetSettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
valueCommonLanguageSettings
Returns
TypeDescription
DotnetSettings.Builder

mergeFrom(DotnetSettings other)

public DotnetSettings.Builder mergeFrom(DotnetSettings other)
Parameter
NameDescription
otherDotnetSettings
Returns
TypeDescription
DotnetSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommon(CommonLanguageSettings value)

public DotnetSettings.Builder setCommon(CommonLanguageSettings value)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
valueCommonLanguageSettings
Returns
TypeDescription
DotnetSettings.Builder

setCommon(CommonLanguageSettings.Builder builderForValue)

public DotnetSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
builderForValueCommonLanguageSettings.Builder
Returns
TypeDescription
DotnetSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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