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\DLP;
19
20class GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $commonAlphabet;
26  protected $contextType = GooglePrivacyDlpV2FieldId::class;
27  protected $contextDataType = '';
28  protected $cryptoKeyType = GooglePrivacyDlpV2CryptoKey::class;
29  protected $cryptoKeyDataType = '';
30  /**
31   * @var string
32   */
33  public $customAlphabet;
34  /**
35   * @var int
36   */
37  public $radix;
38  protected $surrogateInfoTypeType = GooglePrivacyDlpV2InfoType::class;
39  protected $surrogateInfoTypeDataType = '';
40
41  /**
42   * @param string
43   */
44  public function setCommonAlphabet($commonAlphabet)
45  {
46    $this->commonAlphabet = $commonAlphabet;
47  }
48  /**
49   * @return string
50   */
51  public function getCommonAlphabet()
52  {
53    return $this->commonAlphabet;
54  }
55  /**
56   * @param GooglePrivacyDlpV2FieldId
57   */
58  public function setContext(GooglePrivacyDlpV2FieldId $context)
59  {
60    $this->context = $context;
61  }
62  /**
63   * @return GooglePrivacyDlpV2FieldId
64   */
65  public function getContext()
66  {
67    return $this->context;
68  }
69  /**
70   * @param GooglePrivacyDlpV2CryptoKey
71   */
72  public function setCryptoKey(GooglePrivacyDlpV2CryptoKey $cryptoKey)
73  {
74    $this->cryptoKey = $cryptoKey;
75  }
76  /**
77   * @return GooglePrivacyDlpV2CryptoKey
78   */
79  public function getCryptoKey()
80  {
81    return $this->cryptoKey;
82  }
83  /**
84   * @param string
85   */
86  public function setCustomAlphabet($customAlphabet)
87  {
88    $this->customAlphabet = $customAlphabet;
89  }
90  /**
91   * @return string
92   */
93  public function getCustomAlphabet()
94  {
95    return $this->customAlphabet;
96  }
97  /**
98   * @param int
99   */
100  public function setRadix($radix)
101  {
102    $this->radix = $radix;
103  }
104  /**
105   * @return int
106   */
107  public function getRadix()
108  {
109    return $this->radix;
110  }
111  /**
112   * @param GooglePrivacyDlpV2InfoType
113   */
114  public function setSurrogateInfoType(GooglePrivacyDlpV2InfoType $surrogateInfoType)
115  {
116    $this->surrogateInfoType = $surrogateInfoType;
117  }
118  /**
119   * @return GooglePrivacyDlpV2InfoType
120   */
121  public function getSurrogateInfoType()
122  {
123    return $this->surrogateInfoType;
124  }
125}
126
127// Adding a class alias for backwards compatibility with the previous class name.
128class_alias(GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig::class, 'Google_Service_DLP_GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig');
129