// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: runtime_config.proto
package com.google.appengine.tools.development.proto;
/**
*
* Runtime configuration required specifically for the PHP runtime.
*
*
* Protobuf type {@code apphosting.tools.devappserver2.PhpConfig}
*/
public final class PhpConfig extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:apphosting.tools.devappserver2.PhpConfig)
PhpConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use PhpConfig.newBuilder() to construct.
private PhpConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private PhpConfig() {
phpExecutablePath_ = com.google.protobuf.ByteString.EMPTY;
gaeExtensionPath_ = com.google.protobuf.ByteString.EMPTY;
xdebugExtensionPath_ = com.google.protobuf.ByteString.EMPTY;
phpVersion_ = com.google.protobuf.ByteString.EMPTY;
phpLibraryPath_ = com.google.protobuf.ByteString.EMPTY;
phpComposerPath_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PhpConfig();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.tools.development.proto.RuntimeConfig.internal_static_apphosting_tools_devappserver2_PhpConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.development.proto.RuntimeConfig.internal_static_apphosting_tools_devappserver2_PhpConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.development.proto.PhpConfig.class, com.google.appengine.tools.development.proto.PhpConfig.Builder.class);
}
private int bitField0_;
public static final int PHP_EXECUTABLE_PATH_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString phpExecutablePath_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The path to the PHP executable that should be used.
*
*
* optional bytes php_executable_path = 1;
* @return Whether the phpExecutablePath field is set.
*/
@java.lang.Override
public boolean hasPhpExecutablePath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The path to the PHP executable that should be used.
*
*
* optional bytes php_executable_path = 1;
* @return The phpExecutablePath.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPhpExecutablePath() {
return phpExecutablePath_;
}
public static final int ENABLE_DEBUGGER_FIELD_NUMBER = 3;
private boolean enableDebugger_ = false;
/**
*
* Enable interactive debugging using XDebug.
*
*
* required bool enable_debugger = 3;
* @return Whether the enableDebugger field is set.
*/
@java.lang.Override
public boolean hasEnableDebugger() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Enable interactive debugging using XDebug.
*
*
* required bool enable_debugger = 3;
* @return The enableDebugger.
*/
@java.lang.Override
public boolean getEnableDebugger() {
return enableDebugger_;
}
public static final int GAE_EXTENSION_PATH_FIELD_NUMBER = 4;
private com.google.protobuf.ByteString gaeExtensionPath_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The path to the GAE PHP extension that should be loaded.
*
*
* optional bytes gae_extension_path = 4;
* @return Whether the gaeExtensionPath field is set.
*/
@java.lang.Override
public boolean hasGaeExtensionPath() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* The path to the GAE PHP extension that should be loaded.
*
*
* optional bytes gae_extension_path = 4;
* @return The gaeExtensionPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString getGaeExtensionPath() {
return gaeExtensionPath_;
}
public static final int XDEBUG_EXTENSION_PATH_FIELD_NUMBER = 5;
private com.google.protobuf.ByteString xdebugExtensionPath_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The path to the xdebug extension that should be loaded.
*
*
* optional bytes xdebug_extension_path = 5;
* @return Whether the xdebugExtensionPath field is set.
*/
@java.lang.Override
public boolean hasXdebugExtensionPath() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* The path to the xdebug extension that should be loaded.
*
*
* optional bytes xdebug_extension_path = 5;
* @return The xdebugExtensionPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString getXdebugExtensionPath() {
return xdebugExtensionPath_;
}
public static final int PHP_VERSION_FIELD_NUMBER = 6;
private com.google.protobuf.ByteString phpVersion_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The version of PHP executable.
*
*
* optional bytes php_version = 6;
* @return Whether the phpVersion field is set.
*/
@java.lang.Override
public boolean hasPhpVersion() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* The version of PHP executable.
*
*
* optional bytes php_version = 6;
* @return The phpVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPhpVersion() {
return phpVersion_;
}
public static final int PHP_LIBRARY_PATH_FIELD_NUMBER = 7;
private com.google.protobuf.ByteString phpLibraryPath_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Paths to add to LD_LIBRARY_PATH for PHP
*
*
* optional bytes php_library_path = 7;
* @return Whether the phpLibraryPath field is set.
*/
@java.lang.Override
public boolean hasPhpLibraryPath() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Paths to add to LD_LIBRARY_PATH for PHP
*
*
* optional bytes php_library_path = 7;
* @return The phpLibraryPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPhpLibraryPath() {
return phpLibraryPath_;
}
public static final int PHP_COMPOSER_PATH_FIELD_NUMBER = 8;
private com.google.protobuf.ByteString phpComposerPath_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Path to the composer phar
*
*
* optional bytes php_composer_path = 8;
* @return Whether the phpComposerPath field is set.
*/
@java.lang.Override
public boolean hasPhpComposerPath() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Path to the composer phar
*
*
* optional bytes php_composer_path = 8;
* @return The phpComposerPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPhpComposerPath() {
return phpComposerPath_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasEnableDebugger()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBytes(1, phpExecutablePath_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(3, enableDebugger_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBytes(4, gaeExtensionPath_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBytes(5, xdebugExtensionPath_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBytes(6, phpVersion_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeBytes(7, phpLibraryPath_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeBytes(8, phpComposerPath_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, phpExecutablePath_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, enableDebugger_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, gaeExtensionPath_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, xdebugExtensionPath_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, phpVersion_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, phpLibraryPath_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, phpComposerPath_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.appengine.tools.development.proto.PhpConfig)) {
return super.equals(obj);
}
com.google.appengine.tools.development.proto.PhpConfig other = (com.google.appengine.tools.development.proto.PhpConfig) obj;
if (hasPhpExecutablePath() != other.hasPhpExecutablePath()) return false;
if (hasPhpExecutablePath()) {
if (!getPhpExecutablePath()
.equals(other.getPhpExecutablePath())) return false;
}
if (hasEnableDebugger() != other.hasEnableDebugger()) return false;
if (hasEnableDebugger()) {
if (getEnableDebugger()
!= other.getEnableDebugger()) return false;
}
if (hasGaeExtensionPath() != other.hasGaeExtensionPath()) return false;
if (hasGaeExtensionPath()) {
if (!getGaeExtensionPath()
.equals(other.getGaeExtensionPath())) return false;
}
if (hasXdebugExtensionPath() != other.hasXdebugExtensionPath()) return false;
if (hasXdebugExtensionPath()) {
if (!getXdebugExtensionPath()
.equals(other.getXdebugExtensionPath())) return false;
}
if (hasPhpVersion() != other.hasPhpVersion()) return false;
if (hasPhpVersion()) {
if (!getPhpVersion()
.equals(other.getPhpVersion())) return false;
}
if (hasPhpLibraryPath() != other.hasPhpLibraryPath()) return false;
if (hasPhpLibraryPath()) {
if (!getPhpLibraryPath()
.equals(other.getPhpLibraryPath())) return false;
}
if (hasPhpComposerPath() != other.hasPhpComposerPath()) return false;
if (hasPhpComposerPath()) {
if (!getPhpComposerPath()
.equals(other.getPhpComposerPath())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasPhpExecutablePath()) {
hash = (37 * hash) + PHP_EXECUTABLE_PATH_FIELD_NUMBER;
hash = (53 * hash) + getPhpExecutablePath().hashCode();
}
if (hasEnableDebugger()) {
hash = (37 * hash) + ENABLE_DEBUGGER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableDebugger());
}
if (hasGaeExtensionPath()) {
hash = (37 * hash) + GAE_EXTENSION_PATH_FIELD_NUMBER;
hash = (53 * hash) + getGaeExtensionPath().hashCode();
}
if (hasXdebugExtensionPath()) {
hash = (37 * hash) + XDEBUG_EXTENSION_PATH_FIELD_NUMBER;
hash = (53 * hash) + getXdebugExtensionPath().hashCode();
}
if (hasPhpVersion()) {
hash = (37 * hash) + PHP_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getPhpVersion().hashCode();
}
if (hasPhpLibraryPath()) {
hash = (37 * hash) + PHP_LIBRARY_PATH_FIELD_NUMBER;
hash = (53 * hash) + getPhpLibraryPath().hashCode();
}
if (hasPhpComposerPath()) {
hash = (37 * hash) + PHP_COMPOSER_PATH_FIELD_NUMBER;
hash = (53 * hash) + getPhpComposerPath().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.tools.development.proto.PhpConfig parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.development.proto.PhpConfig parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.development.proto.PhpConfig parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.development.proto.PhpConfig parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.development.proto.PhpConfig parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.development.proto.PhpConfig parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.development.proto.PhpConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.development.proto.PhpConfig parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.tools.development.proto.PhpConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.tools.development.proto.PhpConfig parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.appengine.tools.development.proto.PhpConfig parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.development.proto.PhpConfig parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.appengine.tools.development.proto.PhpConfig prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Runtime configuration required specifically for the PHP runtime.
*
*
* Protobuf type {@code apphosting.tools.devappserver2.PhpConfig}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:apphosting.tools.devappserver2.PhpConfig)
com.google.appengine.tools.development.proto.PhpConfigOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.tools.development.proto.RuntimeConfig.internal_static_apphosting_tools_devappserver2_PhpConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.development.proto.RuntimeConfig.internal_static_apphosting_tools_devappserver2_PhpConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.development.proto.PhpConfig.class, com.google.appengine.tools.development.proto.PhpConfig.Builder.class);
}
// Construct using com.google.appengine.tools.development.proto.PhpConfig.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
phpExecutablePath_ = com.google.protobuf.ByteString.EMPTY;
enableDebugger_ = false;
gaeExtensionPath_ = com.google.protobuf.ByteString.EMPTY;
xdebugExtensionPath_ = com.google.protobuf.ByteString.EMPTY;
phpVersion_ = com.google.protobuf.ByteString.EMPTY;
phpLibraryPath_ = com.google.protobuf.ByteString.EMPTY;
phpComposerPath_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.tools.development.proto.RuntimeConfig.internal_static_apphosting_tools_devappserver2_PhpConfig_descriptor;
}
@java.lang.Override
public com.google.appengine.tools.development.proto.PhpConfig getDefaultInstanceForType() {
return com.google.appengine.tools.development.proto.PhpConfig.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.tools.development.proto.PhpConfig build() {
com.google.appengine.tools.development.proto.PhpConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.tools.development.proto.PhpConfig buildPartial() {
com.google.appengine.tools.development.proto.PhpConfig result = new com.google.appengine.tools.development.proto.PhpConfig(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.appengine.tools.development.proto.PhpConfig result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.phpExecutablePath_ = phpExecutablePath_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.enableDebugger_ = enableDebugger_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.gaeExtensionPath_ = gaeExtensionPath_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.xdebugExtensionPath_ = xdebugExtensionPath_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.phpVersion_ = phpVersion_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.phpLibraryPath_ = phpLibraryPath_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.phpComposerPath_ = phpComposerPath_;
to_bitField0_ |= 0x00000040;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.tools.development.proto.PhpConfig) {
return mergeFrom((com.google.appengine.tools.development.proto.PhpConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.tools.development.proto.PhpConfig other) {
if (other == com.google.appengine.tools.development.proto.PhpConfig.getDefaultInstance()) return this;
if (other.hasPhpExecutablePath()) {
setPhpExecutablePath(other.getPhpExecutablePath());
}
if (other.hasEnableDebugger()) {
setEnableDebugger(other.getEnableDebugger());
}
if (other.hasGaeExtensionPath()) {
setGaeExtensionPath(other.getGaeExtensionPath());
}
if (other.hasXdebugExtensionPath()) {
setXdebugExtensionPath(other.getXdebugExtensionPath());
}
if (other.hasPhpVersion()) {
setPhpVersion(other.getPhpVersion());
}
if (other.hasPhpLibraryPath()) {
setPhpLibraryPath(other.getPhpLibraryPath());
}
if (other.hasPhpComposerPath()) {
setPhpComposerPath(other.getPhpComposerPath());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasEnableDebugger()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
phpExecutablePath_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 24: {
enableDebugger_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 24
case 34: {
gaeExtensionPath_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 34
case 42: {
xdebugExtensionPath_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 42
case 50: {
phpVersion_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 50
case 58: {
phpLibraryPath_ = input.readBytes();
bitField0_ |= 0x00000020;
break;
} // case 58
case 66: {
phpComposerPath_ = input.readBytes();
bitField0_ |= 0x00000040;
break;
} // case 66
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.ByteString phpExecutablePath_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The path to the PHP executable that should be used.
*
*
* optional bytes php_executable_path = 1;
* @return Whether the phpExecutablePath field is set.
*/
@java.lang.Override
public boolean hasPhpExecutablePath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The path to the PHP executable that should be used.
*
*
* optional bytes php_executable_path = 1;
* @return The phpExecutablePath.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPhpExecutablePath() {
return phpExecutablePath_;
}
/**
*
* The path to the PHP executable that should be used.
*
*
* optional bytes php_executable_path = 1;
* @param value The phpExecutablePath to set.
* @return This builder for chaining.
*/
public Builder setPhpExecutablePath(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
phpExecutablePath_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The path to the PHP executable that should be used.
*
*
* optional bytes php_executable_path = 1;
* @return This builder for chaining.
*/
public Builder clearPhpExecutablePath() {
bitField0_ = (bitField0_ & ~0x00000001);
phpExecutablePath_ = getDefaultInstance().getPhpExecutablePath();
onChanged();
return this;
}
private boolean enableDebugger_ ;
/**
*
* Enable interactive debugging using XDebug.
*
*
* required bool enable_debugger = 3;
* @return Whether the enableDebugger field is set.
*/
@java.lang.Override
public boolean hasEnableDebugger() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Enable interactive debugging using XDebug.
*
*
* required bool enable_debugger = 3;
* @return The enableDebugger.
*/
@java.lang.Override
public boolean getEnableDebugger() {
return enableDebugger_;
}
/**
*
* Enable interactive debugging using XDebug.
*
*
* required bool enable_debugger = 3;
* @param value The enableDebugger to set.
* @return This builder for chaining.
*/
public Builder setEnableDebugger(boolean value) {
enableDebugger_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Enable interactive debugging using XDebug.
*
*
* required bool enable_debugger = 3;
* @return This builder for chaining.
*/
public Builder clearEnableDebugger() {
bitField0_ = (bitField0_ & ~0x00000002);
enableDebugger_ = false;
onChanged();
return this;
}
private com.google.protobuf.ByteString gaeExtensionPath_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The path to the GAE PHP extension that should be loaded.
*
*
* optional bytes gae_extension_path = 4;
* @return Whether the gaeExtensionPath field is set.
*/
@java.lang.Override
public boolean hasGaeExtensionPath() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* The path to the GAE PHP extension that should be loaded.
*
*
* optional bytes gae_extension_path = 4;
* @return The gaeExtensionPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString getGaeExtensionPath() {
return gaeExtensionPath_;
}
/**
*
* The path to the GAE PHP extension that should be loaded.
*
*
* optional bytes gae_extension_path = 4;
* @param value The gaeExtensionPath to set.
* @return This builder for chaining.
*/
public Builder setGaeExtensionPath(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
gaeExtensionPath_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* The path to the GAE PHP extension that should be loaded.
*
*
* optional bytes gae_extension_path = 4;
* @return This builder for chaining.
*/
public Builder clearGaeExtensionPath() {
bitField0_ = (bitField0_ & ~0x00000004);
gaeExtensionPath_ = getDefaultInstance().getGaeExtensionPath();
onChanged();
return this;
}
private com.google.protobuf.ByteString xdebugExtensionPath_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The path to the xdebug extension that should be loaded.
*
*
* optional bytes xdebug_extension_path = 5;
* @return Whether the xdebugExtensionPath field is set.
*/
@java.lang.Override
public boolean hasXdebugExtensionPath() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* The path to the xdebug extension that should be loaded.
*
*
* optional bytes xdebug_extension_path = 5;
* @return The xdebugExtensionPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString getXdebugExtensionPath() {
return xdebugExtensionPath_;
}
/**
*
* The path to the xdebug extension that should be loaded.
*
*
* optional bytes xdebug_extension_path = 5;
* @param value The xdebugExtensionPath to set.
* @return This builder for chaining.
*/
public Builder setXdebugExtensionPath(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
xdebugExtensionPath_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* The path to the xdebug extension that should be loaded.
*
*
* optional bytes xdebug_extension_path = 5;
* @return This builder for chaining.
*/
public Builder clearXdebugExtensionPath() {
bitField0_ = (bitField0_ & ~0x00000008);
xdebugExtensionPath_ = getDefaultInstance().getXdebugExtensionPath();
onChanged();
return this;
}
private com.google.protobuf.ByteString phpVersion_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* The version of PHP executable.
*
*
* optional bytes php_version = 6;
* @return Whether the phpVersion field is set.
*/
@java.lang.Override
public boolean hasPhpVersion() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* The version of PHP executable.
*
*
* optional bytes php_version = 6;
* @return The phpVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPhpVersion() {
return phpVersion_;
}
/**
*
* The version of PHP executable.
*
*
* optional bytes php_version = 6;
* @param value The phpVersion to set.
* @return This builder for chaining.
*/
public Builder setPhpVersion(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
phpVersion_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* The version of PHP executable.
*
*
* optional bytes php_version = 6;
* @return This builder for chaining.
*/
public Builder clearPhpVersion() {
bitField0_ = (bitField0_ & ~0x00000010);
phpVersion_ = getDefaultInstance().getPhpVersion();
onChanged();
return this;
}
private com.google.protobuf.ByteString phpLibraryPath_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Paths to add to LD_LIBRARY_PATH for PHP
*
*
* optional bytes php_library_path = 7;
* @return Whether the phpLibraryPath field is set.
*/
@java.lang.Override
public boolean hasPhpLibraryPath() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Paths to add to LD_LIBRARY_PATH for PHP
*
*
* optional bytes php_library_path = 7;
* @return The phpLibraryPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPhpLibraryPath() {
return phpLibraryPath_;
}
/**
*
* Paths to add to LD_LIBRARY_PATH for PHP
*
*
* optional bytes php_library_path = 7;
* @param value The phpLibraryPath to set.
* @return This builder for chaining.
*/
public Builder setPhpLibraryPath(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
phpLibraryPath_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Paths to add to LD_LIBRARY_PATH for PHP
*
*
* optional bytes php_library_path = 7;
* @return This builder for chaining.
*/
public Builder clearPhpLibraryPath() {
bitField0_ = (bitField0_ & ~0x00000020);
phpLibraryPath_ = getDefaultInstance().getPhpLibraryPath();
onChanged();
return this;
}
private com.google.protobuf.ByteString phpComposerPath_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Path to the composer phar
*
*
* optional bytes php_composer_path = 8;
* @return Whether the phpComposerPath field is set.
*/
@java.lang.Override
public boolean hasPhpComposerPath() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Path to the composer phar
*
*
* optional bytes php_composer_path = 8;
* @return The phpComposerPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPhpComposerPath() {
return phpComposerPath_;
}
/**
*
* Path to the composer phar
*
*
* optional bytes php_composer_path = 8;
* @param value The phpComposerPath to set.
* @return This builder for chaining.
*/
public Builder setPhpComposerPath(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
phpComposerPath_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* Path to the composer phar
*
*
* optional bytes php_composer_path = 8;
* @return This builder for chaining.
*/
public Builder clearPhpComposerPath() {
bitField0_ = (bitField0_ & ~0x00000040);
phpComposerPath_ = getDefaultInstance().getPhpComposerPath();
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:apphosting.tools.devappserver2.PhpConfig)
}
// @@protoc_insertion_point(class_scope:apphosting.tools.devappserver2.PhpConfig)
private static final com.google.appengine.tools.development.proto.PhpConfig DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.tools.development.proto.PhpConfig();
}
public static com.google.appengine.tools.development.proto.PhpConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PhpConfig parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.tools.development.proto.PhpConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}