Class PhpSettings.Builder (2.37.1)

public static final class PhpSettings.Builder extends GeneratedMessageV3.Builder<PhpSettings.Builder> implements PhpSettingsOrBuilder

Settings for Php client libraries.

Protobuf type google.api.PhpSettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PhpSettings build()
Returns
TypeDescription
PhpSettings

buildPartial()

public PhpSettings buildPartial()
Returns
TypeDescription
PhpSettings

clear()

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

clearCommon()

public PhpSettings.Builder clearCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
PhpSettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
valueCommonLanguageSettings
Returns
TypeDescription
PhpSettings.Builder

mergeFrom(PhpSettings other)

public PhpSettings.Builder mergeFrom(PhpSettings other)
Parameter
NameDescription
otherPhpSettings
Returns
TypeDescription
PhpSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommon(CommonLanguageSettings value)

public PhpSettings.Builder setCommon(CommonLanguageSettings value)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
valueCommonLanguageSettings
Returns
TypeDescription
PhpSettings.Builder

setCommon(CommonLanguageSettings.Builder builderForValue)

public PhpSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)

Some settings.

.google.api.CommonLanguageSettings common = 1;

Parameter
NameDescription
builderForValueCommonLanguageSettings.Builder
Returns
TypeDescription
PhpSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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