PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
media-cloud-sync / includes / sdk / google / google / protobuf / src / Google / Protobuf / Internal / OneofField.php

OneofField.php in Media Cloud Sync 1.4.2, at includes/sdk/google/google/protobuf/src/Google/Protobuf/Internal/OneofField.php

46 lines 1021 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Protocol Buffers - Google's data interchange format
4 // Copyright 2008 Google Inc. All rights reserved.
5 //
6 // Use of this source code is governed by a BSD-style
7 // license that can be found in the LICENSE file or at
8 // https://developers.google.com/open-source/licenses/bsd
9 namespace Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal;
10
11 class OneofField
12 {
13 private $desc;
14 private $field_name;
15 private $number = 0;
16 private $value;
17 public function __construct($desc)
18 {
19 $this->desc = $desc;
20 }
21 public function setValue($value)
22 {
23 $this->value = $value;
24 }
25 public function getValue()
26 {
27 return $this->value;
28 }
29 public function setFieldName($field_name)
30 {
31 $this->field_name = $field_name;
32 }
33 public function getFieldName()
34 {
35 return $this->field_name;
36 }
37 public function setNumber($number)
38 {
39 $this->number = $number;
40 }
41 public function getNumber()
42 {
43 return $this->number;
44 }
45 }
46