1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18class Google_Service_CloudProfiler_Profile extends Google_Model
19{
20  protected $deploymentType = 'Google_Service_CloudProfiler_Deployment';
21  protected $deploymentDataType = '';
22  public $duration;
23  public $labels;
24  public $name;
25  public $profileBytes;
26  public $profileType;
27
28  /**
29   * @param Google_Service_CloudProfiler_Deployment
30   */
31  public function setDeployment(Google_Service_CloudProfiler_Deployment $deployment)
32  {
33    $this->deployment = $deployment;
34  }
35  /**
36   * @return Google_Service_CloudProfiler_Deployment
37   */
38  public function getDeployment()
39  {
40    return $this->deployment;
41  }
42  public function setDuration($duration)
43  {
44    $this->duration = $duration;
45  }
46  public function getDuration()
47  {
48    return $this->duration;
49  }
50  public function setLabels($labels)
51  {
52    $this->labels = $labels;
53  }
54  public function getLabels()
55  {
56    return $this->labels;
57  }
58  public function setName($name)
59  {
60    $this->name = $name;
61  }
62  public function getName()
63  {
64    return $this->name;
65  }
66  public function setProfileBytes($profileBytes)
67  {
68    $this->profileBytes = $profileBytes;
69  }
70  public function getProfileBytes()
71  {
72    return $this->profileBytes;
73  }
74  public function setProfileType($profileType)
75  {
76    $this->profileType = $profileType;
77  }
78  public function getProfileType()
79  {
80    return $this->profileType;
81  }
82}
83