public static final class PhpSettings.Builder extends GeneratedMessageV3.Builder<PhpSettings.Builder> implements PhpSettingsOrBuilder
Settings for Php client libraries.
Protobuf type google.api.PhpSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PhpSettings.BuilderImplements
PhpSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PhpSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
build()
public PhpSettings build()
Returns | |
---|---|
Type | Description |
PhpSettings |
buildPartial()
public PhpSettings buildPartial()
Returns | |
---|---|
Type | Description |
PhpSettings |
clear()
public PhpSettings.Builder clear()
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
clearCommon()
public PhpSettings.Builder clearCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public PhpSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PhpSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
clone()
public PhpSettings.Builder clone()
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
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 PhpSettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PhpSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCommon(CommonLanguageSettings value)
public PhpSettings.Builder mergeCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
Parameter | |
---|---|
Name | Description |
value | CommonLanguageSettings |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
mergeFrom(PhpSettings other)
public PhpSettings.Builder mergeFrom(PhpSettings other)
Parameter | |
---|---|
Name | Description |
other | PhpSettings |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PhpSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PhpSettings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PhpSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
setCommon(CommonLanguageSettings value)
public PhpSettings.Builder setCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
Parameter | |
---|---|
Name | Description |
value | CommonLanguageSettings |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
setCommon(CommonLanguageSettings.Builder builderForValue)
public PhpSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)
Some settings.
.google.api.CommonLanguageSettings common = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | CommonLanguageSettings.Builder |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PhpSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PhpSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PhpSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |