Class RubySettings.Builder (2.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RubySettings build()
Returns
TypeDescription
RubySettings

buildPartial()

public RubySettings buildPartial()
Returns
TypeDescription
RubySettings

clear()

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

clearCommon()

public RubySettings.Builder clearCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
RubySettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
valueCommonLanguageSettings
Returns
TypeDescription
RubySettings.Builder

mergeFrom(RubySettings other)

public RubySettings.Builder mergeFrom(RubySettings other)
Parameter
NameDescription
otherRubySettings
Returns
TypeDescription
RubySettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommon(CommonLanguageSettings value)

public RubySettings.Builder setCommon(CommonLanguageSettings value)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
valueCommonLanguageSettings
Returns
TypeDescription
RubySettings.Builder

setCommon(CommonLanguageSettings.Builder builderForValue)

public RubySettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
builderForValueCommonLanguageSettings.Builder
Returns
TypeDescription
RubySettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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