Class PhpConfig.Builder

  • All Implemented Interfaces:
    PhpConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    PhpConfig

    public static final class PhpConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>
    implements PhpConfigOrBuilder
     Runtime configuration required specifically for the PHP runtime.
     
    Protobuf type apphosting.tools.devappserver2.PhpConfig
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>
      • clear

        public PhpConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>
      • getDefaultInstanceForType

        public PhpConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public PhpConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public PhpConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public PhpConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>
      • setField

        public PhpConfig.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                          Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>
      • clearField

        public PhpConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>
      • clearOneof

        public PhpConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>
      • setRepeatedField

        public PhpConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  int index,
                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>
      • addRepeatedField

        public PhpConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>
      • mergeFrom

        public PhpConfig.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PhpConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>
      • mergeFrom

        public PhpConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PhpConfig.Builder>
        Throws:
        IOException
      • hasPhpExecutablePath

        public boolean hasPhpExecutablePath()
         The path to the PHP executable that should be used.
         
        optional bytes php_executable_path = 1;
        Specified by:
        hasPhpExecutablePath in interface PhpConfigOrBuilder
        Returns:
        Whether the phpExecutablePath field is set.
      • getPhpExecutablePath

        public com.google.protobuf.ByteString getPhpExecutablePath()
         The path to the PHP executable that should be used.
         
        optional bytes php_executable_path = 1;
        Specified by:
        getPhpExecutablePath in interface PhpConfigOrBuilder
        Returns:
        The phpExecutablePath.
      • setPhpExecutablePath

        public PhpConfig.Builder setPhpExecutablePath​(com.google.protobuf.ByteString value)
         The path to the PHP executable that should be used.
         
        optional bytes php_executable_path = 1;
        Parameters:
        value - The phpExecutablePath to set.
        Returns:
        This builder for chaining.
      • clearPhpExecutablePath

        public PhpConfig.Builder clearPhpExecutablePath()
         The path to the PHP executable that should be used.
         
        optional bytes php_executable_path = 1;
        Returns:
        This builder for chaining.
      • hasEnableDebugger

        public boolean hasEnableDebugger()
         Enable interactive debugging using XDebug.
         
        required bool enable_debugger = 3;
        Specified by:
        hasEnableDebugger in interface PhpConfigOrBuilder
        Returns:
        Whether the enableDebugger field is set.
      • getEnableDebugger

        public boolean getEnableDebugger()
         Enable interactive debugging using XDebug.
         
        required bool enable_debugger = 3;
        Specified by:
        getEnableDebugger in interface PhpConfigOrBuilder
        Returns:
        The enableDebugger.
      • setEnableDebugger

        public PhpConfig.Builder setEnableDebugger​(boolean value)
         Enable interactive debugging using XDebug.
         
        required bool enable_debugger = 3;
        Parameters:
        value - The enableDebugger to set.
        Returns:
        This builder for chaining.
      • clearEnableDebugger

        public PhpConfig.Builder clearEnableDebugger()
         Enable interactive debugging using XDebug.
         
        required bool enable_debugger = 3;
        Returns:
        This builder for chaining.
      • hasGaeExtensionPath

        public boolean hasGaeExtensionPath()
         The path to the GAE PHP extension that should be loaded.
         
        optional bytes gae_extension_path = 4;
        Specified by:
        hasGaeExtensionPath in interface PhpConfigOrBuilder
        Returns:
        Whether the gaeExtensionPath field is set.
      • getGaeExtensionPath

        public com.google.protobuf.ByteString getGaeExtensionPath()
         The path to the GAE PHP extension that should be loaded.
         
        optional bytes gae_extension_path = 4;
        Specified by:
        getGaeExtensionPath in interface PhpConfigOrBuilder
        Returns:
        The gaeExtensionPath.
      • setGaeExtensionPath

        public PhpConfig.Builder setGaeExtensionPath​(com.google.protobuf.ByteString value)
         The path to the GAE PHP extension that should be loaded.
         
        optional bytes gae_extension_path = 4;
        Parameters:
        value - The gaeExtensionPath to set.
        Returns:
        This builder for chaining.
      • clearGaeExtensionPath

        public PhpConfig.Builder clearGaeExtensionPath()
         The path to the GAE PHP extension that should be loaded.
         
        optional bytes gae_extension_path = 4;
        Returns:
        This builder for chaining.
      • hasXdebugExtensionPath

        public boolean hasXdebugExtensionPath()
         The path to the xdebug extension that should be loaded.
         
        optional bytes xdebug_extension_path = 5;
        Specified by:
        hasXdebugExtensionPath in interface PhpConfigOrBuilder
        Returns:
        Whether the xdebugExtensionPath field is set.
      • getXdebugExtensionPath

        public com.google.protobuf.ByteString getXdebugExtensionPath()
         The path to the xdebug extension that should be loaded.
         
        optional bytes xdebug_extension_path = 5;
        Specified by:
        getXdebugExtensionPath in interface PhpConfigOrBuilder
        Returns:
        The xdebugExtensionPath.
      • setXdebugExtensionPath

        public PhpConfig.Builder setXdebugExtensionPath​(com.google.protobuf.ByteString value)
         The path to the xdebug extension that should be loaded.
         
        optional bytes xdebug_extension_path = 5;
        Parameters:
        value - The xdebugExtensionPath to set.
        Returns:
        This builder for chaining.
      • clearXdebugExtensionPath

        public PhpConfig.Builder clearXdebugExtensionPath()
         The path to the xdebug extension that should be loaded.
         
        optional bytes xdebug_extension_path = 5;
        Returns:
        This builder for chaining.
      • hasPhpVersion

        public boolean hasPhpVersion()
         The version of PHP executable.
         
        optional bytes php_version = 6;
        Specified by:
        hasPhpVersion in interface PhpConfigOrBuilder
        Returns:
        Whether the phpVersion field is set.
      • getPhpVersion

        public com.google.protobuf.ByteString getPhpVersion()
         The version of PHP executable.
         
        optional bytes php_version = 6;
        Specified by:
        getPhpVersion in interface PhpConfigOrBuilder
        Returns:
        The phpVersion.
      • setPhpVersion

        public PhpConfig.Builder setPhpVersion​(com.google.protobuf.ByteString value)
         The version of PHP executable.
         
        optional bytes php_version = 6;
        Parameters:
        value - The phpVersion to set.
        Returns:
        This builder for chaining.
      • clearPhpVersion

        public PhpConfig.Builder clearPhpVersion()
         The version of PHP executable.
         
        optional bytes php_version = 6;
        Returns:
        This builder for chaining.
      • hasPhpLibraryPath

        public boolean hasPhpLibraryPath()
         Paths to add to LD_LIBRARY_PATH for PHP
         
        optional bytes php_library_path = 7;
        Specified by:
        hasPhpLibraryPath in interface PhpConfigOrBuilder
        Returns:
        Whether the phpLibraryPath field is set.
      • getPhpLibraryPath

        public com.google.protobuf.ByteString getPhpLibraryPath()
         Paths to add to LD_LIBRARY_PATH for PHP
         
        optional bytes php_library_path = 7;
        Specified by:
        getPhpLibraryPath in interface PhpConfigOrBuilder
        Returns:
        The phpLibraryPath.
      • setPhpLibraryPath

        public PhpConfig.Builder setPhpLibraryPath​(com.google.protobuf.ByteString value)
         Paths to add to LD_LIBRARY_PATH for PHP
         
        optional bytes php_library_path = 7;
        Parameters:
        value - The phpLibraryPath to set.
        Returns:
        This builder for chaining.
      • clearPhpLibraryPath

        public PhpConfig.Builder clearPhpLibraryPath()
         Paths to add to LD_LIBRARY_PATH for PHP
         
        optional bytes php_library_path = 7;
        Returns:
        This builder for chaining.
      • hasPhpComposerPath

        public boolean hasPhpComposerPath()
         Path to the composer phar
         
        optional bytes php_composer_path = 8;
        Specified by:
        hasPhpComposerPath in interface PhpConfigOrBuilder
        Returns:
        Whether the phpComposerPath field is set.
      • getPhpComposerPath

        public com.google.protobuf.ByteString getPhpComposerPath()
         Path to the composer phar
         
        optional bytes php_composer_path = 8;
        Specified by:
        getPhpComposerPath in interface PhpConfigOrBuilder
        Returns:
        The phpComposerPath.
      • setPhpComposerPath

        public PhpConfig.Builder setPhpComposerPath​(com.google.protobuf.ByteString value)
         Path to the composer phar
         
        optional bytes php_composer_path = 8;
        Parameters:
        value - The phpComposerPath to set.
        Returns:
        This builder for chaining.
      • clearPhpComposerPath

        public PhpConfig.Builder clearPhpComposerPath()
         Path to the composer phar
         
        optional bytes php_composer_path = 8;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final PhpConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>
      • mergeUnknownFields

        public final PhpConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PhpConfig.Builder>