Interface PhpSettingsOrBuilder (2.72.0)

public interface PhpSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommon()

public abstract CommonLanguageSettings getCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
CommonLanguageSettings

The common.

getCommonOrBuilder()

public abstract CommonLanguageSettingsOrBuilder getCommonOrBuilder()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
CommonLanguageSettingsOrBuilder

getLibraryPackage()

public abstract String getLibraryPackage()

The package name to use in Php. Clobbers the php_namespace option set in the protobuf. This should be used only by APIs who have already set the language_settings.php.package_name" field in gapic.yaml. API teams should use the protobuf php_namespace option where possible.

Example of a YAML configuration::

publishing: library_settings: php_settings: library_package: Google\Cloud\PubSub\V1

string library_package = 2;

Returns
Type Description
String

The libraryPackage.

getLibraryPackageBytes()

public abstract ByteString getLibraryPackageBytes()

The package name to use in Php. Clobbers the php_namespace option set in the protobuf. This should be used only by APIs who have already set the language_settings.php.package_name" field in gapic.yaml. API teams should use the protobuf php_namespace option where possible.

Example of a YAML configuration::

publishing: library_settings: php_settings: library_package: Google\Cloud\PubSub\V1

string library_package = 2;

Returns
Type Description
ByteString

The bytes for libraryPackage.

hasCommon()

public abstract boolean hasCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
boolean

Whether the common field is set.