Package com.google.api
Class PhpSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<PhpSettings,PhpSettings.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<PhpSettings,PhpSettings.Builder>
com.google.api.PhpSettings.Builder
- All Implemented Interfaces:
PhpSettingsOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable
- Enclosing class:
PhpSettings
public static final class PhpSettings.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<PhpSettings,PhpSettings.Builder>
implements PhpSettingsOrBuilder
Settings for Php client libraries.Protobuf type
google.api.PhpSettings-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionSome settings.The package name to use in Php.Some settings.The package name to use in Php.com.google.protobuf.ByteStringThe package name to use in Php.booleanSome settings.Some settings.setCommon(CommonLanguageSettings value) Some settings.setCommon(CommonLanguageSettings.Builder builderForValue) Some settings.setLibraryPackage(String value) The package name to use in Php.setLibraryPackageBytes(com.google.protobuf.ByteString value) The package name to use in Php.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasCommon
public boolean hasCommon()Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];- Specified by:
hasCommonin interfacePhpSettingsOrBuilder- Returns:
- Whether the common field is set.
-
getCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];- Specified by:
getCommonin interfacePhpSettingsOrBuilder- Returns:
- The common.
-
setCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"]; -
setCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"]; -
mergeCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"]; -
clearCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"]; -
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 [json_name = "libraryPackage"];- Specified by:
getLibraryPackagein interfacePhpSettingsOrBuilder- Returns:
- The libraryPackage.
-
getLibraryPackageBytes
public com.google.protobuf.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 [json_name = "libraryPackage"];- Specified by:
getLibraryPackageBytesin interfacePhpSettingsOrBuilder- Returns:
- The bytes for libraryPackage.
-
setLibraryPackage
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 [json_name = "libraryPackage"];- Parameters:
value- The libraryPackage to set.- Returns:
- This builder for chaining.
-
clearLibraryPackage
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 [json_name = "libraryPackage"];- Returns:
- This builder for chaining.
-
setLibraryPackageBytes
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 [json_name = "libraryPackage"];- Parameters:
value- The bytes for libraryPackage to set.- Returns:
- This builder for chaining.
-