Class NodeSettings.Builder (2.43.0)

public static final class NodeSettings.Builder extends GeneratedMessageV3.Builder<NodeSettings.Builder> implements NodeSettingsOrBuilder

Settings for Node client libraries.

Protobuf type google.api.NodeSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeSettings build()
Returns
Type Description
NodeSettings

buildPartial()

public NodeSettings buildPartial()
Returns
Type Description
NodeSettings

clear()

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

clearCommon()

public NodeSettings.Builder clearCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
NodeSettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public NodeSettings.Builder clone()
Returns
Type Description
NodeSettings.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 NodeSettings getDefaultInstanceForType()
Returns
Type Description
NodeSettings

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

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
Name Description
value CommonLanguageSettings
Returns
Type Description
NodeSettings.Builder

mergeFrom(NodeSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommon(CommonLanguageSettings value)

public NodeSettings.Builder setCommon(CommonLanguageSettings value)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
Name Description
value CommonLanguageSettings
Returns
Type Description
NodeSettings.Builder

setCommon(CommonLanguageSettings.Builder builderForValue)

public NodeSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)

Some settings.

.google.api.CommonLanguageSettings common = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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