-
Notifications
You must be signed in to change notification settings - Fork 461
Expand file tree
/
Copy pathIntegratedSystem.php
More file actions
110 lines (102 loc) · 2.84 KB
/
IntegratedSystem.php
File metadata and controls
110 lines (102 loc) · 2.84 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/datacatalog/v1/common.proto
namespace Google\Cloud\DataCatalog\V1;
use UnexpectedValueException;
/**
* This enum lists all the systems that Data Catalog integrates with.
*
* Protobuf type <code>google.cloud.datacatalog.v1.IntegratedSystem</code>
*/
class IntegratedSystem
{
/**
* Default unknown system.
*
* Generated from protobuf enum <code>INTEGRATED_SYSTEM_UNSPECIFIED = 0;</code>
*/
const INTEGRATED_SYSTEM_UNSPECIFIED = 0;
/**
* BigQuery.
*
* Generated from protobuf enum <code>BIGQUERY = 1;</code>
*/
const BIGQUERY = 1;
/**
* Cloud Pub/Sub.
*
* Generated from protobuf enum <code>CLOUD_PUBSUB = 2;</code>
*/
const CLOUD_PUBSUB = 2;
/**
* Dataproc Metastore.
*
* Generated from protobuf enum <code>DATAPROC_METASTORE = 3;</code>
*/
const DATAPROC_METASTORE = 3;
/**
* Dataplex.
*
* Generated from protobuf enum <code>DATAPLEX = 4;</code>
*/
const DATAPLEX = 4;
/**
* Cloud Spanner
*
* Generated from protobuf enum <code>CLOUD_SPANNER = 6;</code>
*/
const CLOUD_SPANNER = 6;
/**
* Cloud Bigtable
*
* Generated from protobuf enum <code>CLOUD_BIGTABLE = 7;</code>
*/
const CLOUD_BIGTABLE = 7;
/**
* Cloud Sql
*
* Generated from protobuf enum <code>CLOUD_SQL = 8;</code>
*/
const CLOUD_SQL = 8;
/**
* Looker
*
* Generated from protobuf enum <code>LOOKER = 9;</code>
*/
const LOOKER = 9;
/**
* Vertex AI
*
* Generated from protobuf enum <code>VERTEX_AI = 10;</code>
*/
const VERTEX_AI = 10;
private static $valueToName = [
self::INTEGRATED_SYSTEM_UNSPECIFIED => 'INTEGRATED_SYSTEM_UNSPECIFIED',
self::BIGQUERY => 'BIGQUERY',
self::CLOUD_PUBSUB => 'CLOUD_PUBSUB',
self::DATAPROC_METASTORE => 'DATAPROC_METASTORE',
self::DATAPLEX => 'DATAPLEX',
self::CLOUD_SPANNER => 'CLOUD_SPANNER',
self::CLOUD_BIGTABLE => 'CLOUD_BIGTABLE',
self::CLOUD_SQL => 'CLOUD_SQL',
self::LOOKER => 'LOOKER',
self::VERTEX_AI => 'VERTEX_AI',
];
public static function name($value)
{
if (!isset(self::$valueToName[$value])) {
throw new UnexpectedValueException(sprintf(
'Enum %s has no name defined for value %s', __CLASS__, $value));
}
return self::$valueToName[$value];
}
public static function value($name)
{
$const = __CLASS__ . '::' . strtoupper($name);
if (!defined($const)) {
throw new UnexpectedValueException(sprintf(
'Enum %s has no value defined for name %s', __CLASS__, $name));
}
return constant($const);
}
}