-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathProductSetPurgeConfig.php
More file actions
75 lines (66 loc) · 2.26 KB
/
ProductSetPurgeConfig.php
File metadata and controls
75 lines (66 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/vision/v1/product_search_service.proto
namespace Google\Cloud\Vision\V1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\GPBUtil;
use Google\Protobuf\RepeatedField;
/**
* Config to control which ProductSet contains the Products to be deleted.
*
* Generated from protobuf message <code>google.cloud.vision.v1.ProductSetPurgeConfig</code>
*/
class ProductSetPurgeConfig extends \Google\Protobuf\Internal\Message
{
/**
* The ProductSet that contains the Products to delete. If a Product is a
* member of product_set_id in addition to other ProductSets, the Product will
* still be deleted.
*
* Generated from protobuf field <code>string product_set_id = 1;</code>
*/
protected $product_set_id = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $product_set_id
* The ProductSet that contains the Products to delete. If a Product is a
* member of product_set_id in addition to other ProductSets, the Product will
* still be deleted.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Google\Cloud\Vision\V1\ProductSearchService::initOnce();
parent::__construct($data);
}
/**
* The ProductSet that contains the Products to delete. If a Product is a
* member of product_set_id in addition to other ProductSets, the Product will
* still be deleted.
*
* Generated from protobuf field <code>string product_set_id = 1;</code>
* @return string
*/
public function getProductSetId()
{
return $this->product_set_id;
}
/**
* The ProductSet that contains the Products to delete. If a Product is a
* member of product_set_id in addition to other ProductSets, the Product will
* still be deleted.
*
* Generated from protobuf field <code>string product_set_id = 1;</code>
* @param string $var
* @return $this
*/
public function setProductSetId($var)
{
GPBUtil::checkString($var, True);
$this->product_set_id = $var;
return $this;
}
}