Interface PhpSettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
PhpSettings, PhpSettings.Builder

@Generated public interface PhpSettingsOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Some settings.
    The package name to use in Php.
    com.google.protobuf.ByteString
    The package name to use in Php.
    boolean
    Some settings.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasCommon

      boolean hasCommon()
       Some settings.
       
      .google.api.CommonLanguageSettings common = 1 [json_name = "common"];
      Returns:
      Whether the common field is set.
    • getCommon

       Some settings.
       
      .google.api.CommonLanguageSettings common = 1 [json_name = "common"];
      Returns:
      The common.
    • getLibraryPackage

      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 [json_name = "libraryPackage"];
      Returns:
      The libraryPackage.
    • getLibraryPackageBytes

      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"];
      Returns:
      The bytes for libraryPackage.