Class RubySettings.Builder (2.39.0)

public static final class RubySettings.Builder extends GeneratedMessageV3.Builder<RubySettings.Builder> implements RubySettingsOrBuilder

Settings for Ruby client libraries.

Protobuf type google.api.RubySettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RubySettings build()
Returns
Type Description
RubySettings

buildPartial()

public RubySettings buildPartial()
Returns
Type Description
RubySettings

clear()

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

clearCommon()

public RubySettings.Builder clearCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
RubySettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
Name Description
value CommonLanguageSettings
Returns
Type Description
RubySettings.Builder

mergeFrom(RubySettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommon(CommonLanguageSettings value)

public RubySettings.Builder setCommon(CommonLanguageSettings value)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
Name Description
value CommonLanguageSettings
Returns
Type Description
RubySettings.Builder

setCommon(CommonLanguageSettings.Builder builderForValue)

public RubySettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)

Some settings.

.google.api.CommonLanguageSettings common = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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