PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / trunk
ShareThis Dashboard for Google Analytics vtrunk
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / lib / analytics-admin / vendor / google / common-protos / src / Api / LabelDescriptor.php
googleanalytics / lib / analytics-admin / vendor / google / common-protos / src / Api Last commit date
BackendRule 3 years ago Billing 3 years ago Distribution 3 years ago Expr 3 years ago LabelDescriptor 3 years ago Logging 3 years ago MetricDescriptor 3 years ago Monitoring 3 years ago Property 3 years ago ResourceDescriptor 3 years ago Advice.php 3 years ago AuthProvider.php 3 years ago AuthRequirement.php 3 years ago Authentication.php 3 years ago AuthenticationRule.php 3 years ago Backend.php 3 years ago BackendRule.php 3 years ago BackendRule_PathTranslation.php 3 years ago Billing.php 3 years ago Billing_BillingDestination.php 3 years ago ChangeType.php 3 years ago ConfigChange.php 3 years ago Context.php 3 years ago ContextRule.php 3 years ago Control.php 3 years ago CustomHttpPattern.php 3 years ago Distribution.php 3 years ago Distribution_BucketOptions.php 3 years ago Distribution_BucketOptions_Explicit.php 3 years ago Distribution_BucketOptions_Exponential.php 3 years ago Distribution_BucketOptions_Linear.php 3 years ago Distribution_Exemplar.php 3 years ago Distribution_Range.php 3 years ago Documentation.php 3 years ago DocumentationRule.php 3 years ago Endpoint.php 3 years ago FieldBehavior.php 3 years ago Http.php 3 years ago HttpBody.php 3 years ago HttpRule.php 3 years ago LabelDescriptor.php 3 years ago LabelDescriptor_ValueType.php 3 years ago LaunchStage.php 3 years ago LogDescriptor.php 3 years ago Logging.php 3 years ago Logging_LoggingDestination.php 3 years ago Metric.php 3 years ago MetricDescriptor.php 3 years ago MetricDescriptor_MetricDescriptorMetadata.php 3 years ago MetricDescriptor_MetricKind.php 3 years ago MetricDescriptor_ValueType.php 3 years ago MetricRule.php 3 years ago MonitoredResource.php 3 years ago MonitoredResourceDescriptor.php 3 years ago MonitoredResourceMetadata.php 3 years ago Monitoring.php 3 years ago Monitoring_MonitoringDestination.php 3 years ago OAuthRequirements.php 3 years ago Page.php 3 years ago ProjectProperties.php 3 years ago Property.php 3 years ago Property_PropertyType.php 3 years ago Quota.php 3 years ago QuotaLimit.php 3 years ago ResourceDescriptor.php 3 years ago ResourceDescriptor_History.php 3 years ago ResourceReference.php 3 years ago RoutingParameter.php 3 years ago RoutingRule.php 3 years ago Service.php 3 years ago SourceInfo.php 3 years ago SystemParameter.php 3 years ago SystemParameterRule.php 3 years ago SystemParameters.php 3 years ago Usage.php 3 years ago UsageRule.php 3 years ago
LabelDescriptor.php
136 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/api/label.proto
4
5 namespace Google\Api;
6
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
10
11 /**
12 * A description of a label.
13 *
14 * Generated from protobuf message <code>google.api.LabelDescriptor</code>
15 */
16 class LabelDescriptor extends \Google\Protobuf\Internal\Message
17 {
18 /**
19 * The label key.
20 *
21 * Generated from protobuf field <code>string key = 1;</code>
22 */
23 private $key = '';
24 /**
25 * The type of data that can be assigned to the label.
26 *
27 * Generated from protobuf field <code>.google.api.LabelDescriptor.ValueType value_type = 2;</code>
28 */
29 private $value_type = 0;
30 /**
31 * A human-readable description for the label.
32 *
33 * Generated from protobuf field <code>string description = 3;</code>
34 */
35 private $description = '';
36
37 /**
38 * Constructor.
39 *
40 * @param array $data {
41 * Optional. Data for populating the Message object.
42 *
43 * @type string $key
44 * The label key.
45 * @type int $value_type
46 * The type of data that can be assigned to the label.
47 * @type string $description
48 * A human-readable description for the label.
49 * }
50 */
51 public function __construct($data = NULL) {
52 \GPBMetadata\Google\Api\Label::initOnce();
53 parent::__construct($data);
54 }
55
56 /**
57 * The label key.
58 *
59 * Generated from protobuf field <code>string key = 1;</code>
60 * @return string
61 */
62 public function getKey()
63 {
64 return $this->key;
65 }
66
67 /**
68 * The label key.
69 *
70 * Generated from protobuf field <code>string key = 1;</code>
71 * @param string $var
72 * @return $this
73 */
74 public function setKey($var)
75 {
76 GPBUtil::checkString($var, True);
77 $this->key = $var;
78
79 return $this;
80 }
81
82 /**
83 * The type of data that can be assigned to the label.
84 *
85 * Generated from protobuf field <code>.google.api.LabelDescriptor.ValueType value_type = 2;</code>
86 * @return int
87 */
88 public function getValueType()
89 {
90 return $this->value_type;
91 }
92
93 /**
94 * The type of data that can be assigned to the label.
95 *
96 * Generated from protobuf field <code>.google.api.LabelDescriptor.ValueType value_type = 2;</code>
97 * @param int $var
98 * @return $this
99 */
100 public function setValueType($var)
101 {
102 GPBUtil::checkEnum($var, \Google\Api\LabelDescriptor_ValueType::class);
103 $this->value_type = $var;
104
105 return $this;
106 }
107
108 /**
109 * A human-readable description for the label.
110 *
111 * Generated from protobuf field <code>string description = 3;</code>
112 * @return string
113 */
114 public function getDescription()
115 {
116 return $this->description;
117 }
118
119 /**
120 * A human-readable description for the label.
121 *
122 * Generated from protobuf field <code>string description = 3;</code>
123 * @param string $var
124 * @return $this
125 */
126 public function setDescription($var)
127 {
128 GPBUtil::checkString($var, True);
129 $this->description = $var;
130
131 return $this;
132 }
133
134 }
135
136