<?php

// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc.  All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
namespace DeliciousBrains\WP_Offload_Media\Gcp\Google\Protobuf\Internal;

class OneofField
{
    private $desc;
    private $field_name;
    private $number = 0;
    private $value;
    public function __construct($desc)
    {
        $this->desc = $desc;
    }
    public function setValue($value)
    {
        $this->value = $value;
    }
    public function getValue()
    {
        return $this->value;
    }
    public function setFieldName($field_name)
    {
        $this->field_name = $field_name;
    }
    public function getFieldName()
    {
        return $this->field_name;
    }
    public function setNumber($number)
    {
        $this->number = $number;
    }
    public function getNumber()
    {
        return $this->number;
    }
}
