Nessuna descrizione

Position.php 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. class Google_Service_Dataflow_Position extends Google_Model
  18. {
  19. public $byteOffset;
  20. protected $concatPositionType = 'Google_Service_Dataflow_ConcatPosition';
  21. protected $concatPositionDataType = '';
  22. public $end;
  23. public $key;
  24. public $recordIndex;
  25. public $shufflePosition;
  26. public function setByteOffset($byteOffset)
  27. {
  28. $this->byteOffset = $byteOffset;
  29. }
  30. public function getByteOffset()
  31. {
  32. return $this->byteOffset;
  33. }
  34. /**
  35. * @param Google_Service_Dataflow_ConcatPosition
  36. */
  37. public function setConcatPosition(Google_Service_Dataflow_ConcatPosition $concatPosition)
  38. {
  39. $this->concatPosition = $concatPosition;
  40. }
  41. /**
  42. * @return Google_Service_Dataflow_ConcatPosition
  43. */
  44. public function getConcatPosition()
  45. {
  46. return $this->concatPosition;
  47. }
  48. public function setEnd($end)
  49. {
  50. $this->end = $end;
  51. }
  52. public function getEnd()
  53. {
  54. return $this->end;
  55. }
  56. public function setKey($key)
  57. {
  58. $this->key = $key;
  59. }
  60. public function getKey()
  61. {
  62. return $this->key;
  63. }
  64. public function setRecordIndex($recordIndex)
  65. {
  66. $this->recordIndex = $recordIndex;
  67. }
  68. public function getRecordIndex()
  69. {
  70. return $this->recordIndex;
  71. }
  72. public function setShufflePosition($shufflePosition)
  73. {
  74. $this->shufflePosition = $shufflePosition;
  75. }
  76. public function getShufflePosition()
  77. {
  78. return $this->shufflePosition;
  79. }
  80. }