Class NodeSettings.Builder (2.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeSettings build()
Returns
TypeDescription
NodeSettings

buildPartial()

public NodeSettings buildPartial()
Returns
TypeDescription
NodeSettings

clear()

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

clearCommon()

public NodeSettings.Builder clearCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
NodeSettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
valueCommonLanguageSettings
Returns
TypeDescription
NodeSettings.Builder

mergeFrom(NodeSettings other)

public NodeSettings.Builder mergeFrom(NodeSettings other)
Parameter
NameDescription
otherNodeSettings
Returns
TypeDescription
NodeSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommon(CommonLanguageSettings value)

public NodeSettings.Builder setCommon(CommonLanguageSettings value)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
valueCommonLanguageSettings
Returns
TypeDescription
NodeSettings.Builder

setCommon(CommonLanguageSettings.Builder builderForValue)

public NodeSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
builderForValueCommonLanguageSettings.Builder
Returns
TypeDescription
NodeSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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