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\Safebrowsing;
19
20class GoogleSecuritySafebrowsingV4ThreatEntrySet extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $compressionType;
26  protected $rawHashesType = GoogleSecuritySafebrowsingV4RawHashes::class;
27  protected $rawHashesDataType = '';
28  protected $rawIndicesType = GoogleSecuritySafebrowsingV4RawIndices::class;
29  protected $rawIndicesDataType = '';
30  protected $riceHashesType = GoogleSecuritySafebrowsingV4RiceDeltaEncoding::class;
31  protected $riceHashesDataType = '';
32  protected $riceIndicesType = GoogleSecuritySafebrowsingV4RiceDeltaEncoding::class;
33  protected $riceIndicesDataType = '';
34
35  /**
36   * @param string
37   */
38  public function setCompressionType($compressionType)
39  {
40    $this->compressionType = $compressionType;
41  }
42  /**
43   * @return string
44   */
45  public function getCompressionType()
46  {
47    return $this->compressionType;
48  }
49  /**
50   * @param GoogleSecuritySafebrowsingV4RawHashes
51   */
52  public function setRawHashes(GoogleSecuritySafebrowsingV4RawHashes $rawHashes)
53  {
54    $this->rawHashes = $rawHashes;
55  }
56  /**
57   * @return GoogleSecuritySafebrowsingV4RawHashes
58   */
59  public function getRawHashes()
60  {
61    return $this->rawHashes;
62  }
63  /**
64   * @param GoogleSecuritySafebrowsingV4RawIndices
65   */
66  public function setRawIndices(GoogleSecuritySafebrowsingV4RawIndices $rawIndices)
67  {
68    $this->rawIndices = $rawIndices;
69  }
70  /**
71   * @return GoogleSecuritySafebrowsingV4RawIndices
72   */
73  public function getRawIndices()
74  {
75    return $this->rawIndices;
76  }
77  /**
78   * @param GoogleSecuritySafebrowsingV4RiceDeltaEncoding
79   */
80  public function setRiceHashes(GoogleSecuritySafebrowsingV4RiceDeltaEncoding $riceHashes)
81  {
82    $this->riceHashes = $riceHashes;
83  }
84  /**
85   * @return GoogleSecuritySafebrowsingV4RiceDeltaEncoding
86   */
87  public function getRiceHashes()
88  {
89    return $this->riceHashes;
90  }
91  /**
92   * @param GoogleSecuritySafebrowsingV4RiceDeltaEncoding
93   */
94  public function setRiceIndices(GoogleSecuritySafebrowsingV4RiceDeltaEncoding $riceIndices)
95  {
96    $this->riceIndices = $riceIndices;
97  }
98  /**
99   * @return GoogleSecuritySafebrowsingV4RiceDeltaEncoding
100   */
101  public function getRiceIndices()
102  {
103    return $this->riceIndices;
104  }
105}
106
107// Adding a class alias for backwards compatibility with the previous class name.
108class_alias(GoogleSecuritySafebrowsingV4ThreatEntrySet::class, 'Google_Service_Safebrowsing_GoogleSecuritySafebrowsingV4ThreatEntrySet');
109