PluginProbe
Media Cloud Sync / 1.1.0
Media Cloud Sync v1.1.0
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
media-cloud-sync / includes / sdk / google / google / common-protos / src / Api / ClientLibraryOrganization.php

ClientLibraryOrganization.php in Media Cloud Sync 1.1.0, at includes/sdk/google/google/common-protos/src/Api/ClientLibraryOrganization.php

81 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 # Generated by the protocol buffer compiler. DO NOT EDIT!
4 # source: google/api/client.proto
5 namespace Dudlewebs\WPMCS\Google\Api;
6
7 use UnexpectedValueException;
8 /**
9 * The organization for which the client libraries are being published.
10 * Affects the url where generated docs are published, etc.
11 *
12 * Protobuf type <code>google.api.ClientLibraryOrganization</code>
13 */
14 class ClientLibraryOrganization
15 {
16 /**
17 * Not useful.
18 *
19 * Generated from protobuf enum <code>CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0;</code>
20 */
21 const CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0;
22 /**
23 * Google Cloud Platform Org.
24 *
25 * Generated from protobuf enum <code>CLOUD = 1;</code>
26 */
27 const CLOUD = 1;
28 /**
29 * Ads (Advertising) Org.
30 *
31 * Generated from protobuf enum <code>ADS = 2;</code>
32 */
33 const ADS = 2;
34 /**
35 * Photos Org.
36 *
37 * Generated from protobuf enum <code>PHOTOS = 3;</code>
38 */
39 const PHOTOS = 3;
40 /**
41 * Street View Org.
42 *
43 * Generated from protobuf enum <code>STREET_VIEW = 4;</code>
44 */
45 const STREET_VIEW = 4;
46 /**
47 * Shopping Org.
48 *
49 * Generated from protobuf enum <code>SHOPPING = 5;</code>
50 */
51 const SHOPPING = 5;
52 /**
53 * Geo Org.
54 *
55 * Generated from protobuf enum <code>GEO = 6;</code>
56 */
57 const GEO = 6;
58 /**
59 * Generative AI - https://developers.generativeai.google
60 *
61 * Generated from protobuf enum <code>GENERATIVE_AI = 7;</code>
62 */
63 const GENERATIVE_AI = 7;
64 private static $valueToName = [self::CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED => 'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED', self::CLOUD => 'CLOUD', self::ADS => 'ADS', self::PHOTOS => 'PHOTOS', self::STREET_VIEW => 'STREET_VIEW', self::SHOPPING => 'SHOPPING', self::GEO => 'GEO', self::GENERATIVE_AI => 'GENERATIVE_AI'];
65 public static function name($value)
66 {
67 if (!isset(self::$valueToName[$value])) {
68 throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value));
69 }
70 return self::$valueToName[$value];
71 }
72 public static function value($name)
73 {
74 $const = __CLASS__ . '::' . strtoupper($name);
75 if (!defined($const)) {
76 throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name));
77 }
78 return constant($const);
79 }
80 }
81