暫無描述

ThreatEntrySet.php 2.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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_Safebrowsing_ThreatEntrySet extends Google_Model
  18. {
  19. public $compressionType;
  20. protected $rawHashesType = 'Google_Service_Safebrowsing_RawHashes';
  21. protected $rawHashesDataType = '';
  22. protected $rawIndicesType = 'Google_Service_Safebrowsing_RawIndices';
  23. protected $rawIndicesDataType = '';
  24. protected $riceHashesType = 'Google_Service_Safebrowsing_RiceDeltaEncoding';
  25. protected $riceHashesDataType = '';
  26. protected $riceIndicesType = 'Google_Service_Safebrowsing_RiceDeltaEncoding';
  27. protected $riceIndicesDataType = '';
  28. public function setCompressionType($compressionType)
  29. {
  30. $this->compressionType = $compressionType;
  31. }
  32. public function getCompressionType()
  33. {
  34. return $this->compressionType;
  35. }
  36. /**
  37. * @param Google_Service_Safebrowsing_RawHashes
  38. */
  39. public function setRawHashes(Google_Service_Safebrowsing_RawHashes $rawHashes)
  40. {
  41. $this->rawHashes = $rawHashes;
  42. }
  43. /**
  44. * @return Google_Service_Safebrowsing_RawHashes
  45. */
  46. public function getRawHashes()
  47. {
  48. return $this->rawHashes;
  49. }
  50. /**
  51. * @param Google_Service_Safebrowsing_RawIndices
  52. */
  53. public function setRawIndices(Google_Service_Safebrowsing_RawIndices $rawIndices)
  54. {
  55. $this->rawIndices = $rawIndices;
  56. }
  57. /**
  58. * @return Google_Service_Safebrowsing_RawIndices
  59. */
  60. public function getRawIndices()
  61. {
  62. return $this->rawIndices;
  63. }
  64. /**
  65. * @param Google_Service_Safebrowsing_RiceDeltaEncoding
  66. */
  67. public function setRiceHashes(Google_Service_Safebrowsing_RiceDeltaEncoding $riceHashes)
  68. {
  69. $this->riceHashes = $riceHashes;
  70. }
  71. /**
  72. * @return Google_Service_Safebrowsing_RiceDeltaEncoding
  73. */
  74. public function getRiceHashes()
  75. {
  76. return $this->riceHashes;
  77. }
  78. /**
  79. * @param Google_Service_Safebrowsing_RiceDeltaEncoding
  80. */
  81. public function setRiceIndices(Google_Service_Safebrowsing_RiceDeltaEncoding $riceIndices)
  82. {
  83. $this->riceIndices = $riceIndices;
  84. }
  85. /**
  86. * @return Google_Service_Safebrowsing_RiceDeltaEncoding
  87. */
  88. public function getRiceIndices()
  89. {
  90. return $this->riceIndices;
  91. }
  92. }