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
18namespace Google\Service\Firestore;
19
20class GoogleFirestoreAdminV1FieldOperationMetadata extends \Google\Collection
21{
22  protected $collection_key = 'indexConfigDeltas';
23  /**
24   * @var string
25   */
26  public $endTime;
27  /**
28   * @var string
29   */
30  public $field;
31  protected $indexConfigDeltasType = GoogleFirestoreAdminV1IndexConfigDelta::class;
32  protected $indexConfigDeltasDataType = 'array';
33  protected $progressBytesType = GoogleFirestoreAdminV1Progress::class;
34  protected $progressBytesDataType = '';
35  protected $progressDocumentsType = GoogleFirestoreAdminV1Progress::class;
36  protected $progressDocumentsDataType = '';
37  /**
38   * @var string
39   */
40  public $startTime;
41  /**
42   * @var string
43   */
44  public $state;
45
46  /**
47   * @param string
48   */
49  public function setEndTime($endTime)
50  {
51    $this->endTime = $endTime;
52  }
53  /**
54   * @return string
55   */
56  public function getEndTime()
57  {
58    return $this->endTime;
59  }
60  /**
61   * @param string
62   */
63  public function setField($field)
64  {
65    $this->field = $field;
66  }
67  /**
68   * @return string
69   */
70  public function getField()
71  {
72    return $this->field;
73  }
74  /**
75   * @param GoogleFirestoreAdminV1IndexConfigDelta[]
76   */
77  public function setIndexConfigDeltas($indexConfigDeltas)
78  {
79    $this->indexConfigDeltas = $indexConfigDeltas;
80  }
81  /**
82   * @return GoogleFirestoreAdminV1IndexConfigDelta[]
83   */
84  public function getIndexConfigDeltas()
85  {
86    return $this->indexConfigDeltas;
87  }
88  /**
89   * @param GoogleFirestoreAdminV1Progress
90   */
91  public function setProgressBytes(GoogleFirestoreAdminV1Progress $progressBytes)
92  {
93    $this->progressBytes = $progressBytes;
94  }
95  /**
96   * @return GoogleFirestoreAdminV1Progress
97   */
98  public function getProgressBytes()
99  {
100    return $this->progressBytes;
101  }
102  /**
103   * @param GoogleFirestoreAdminV1Progress
104   */
105  public function setProgressDocuments(GoogleFirestoreAdminV1Progress $progressDocuments)
106  {
107    $this->progressDocuments = $progressDocuments;
108  }
109  /**
110   * @return GoogleFirestoreAdminV1Progress
111   */
112  public function getProgressDocuments()
113  {
114    return $this->progressDocuments;
115  }
116  /**
117   * @param string
118   */
119  public function setStartTime($startTime)
120  {
121    $this->startTime = $startTime;
122  }
123  /**
124   * @return string
125   */
126  public function getStartTime()
127  {
128    return $this->startTime;
129  }
130  /**
131   * @param string
132   */
133  public function setState($state)
134  {
135    $this->state = $state;
136  }
137  /**
138   * @return string
139   */
140  public function getState()
141  {
142    return $this->state;
143  }
144}
145
146// Adding a class alias for backwards compatibility with the previous class name.
147class_alias(GoogleFirestoreAdminV1FieldOperationMetadata::class, 'Google_Service_Firestore_GoogleFirestoreAdminV1FieldOperationMetadata');
148