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
Page.php
197 lines
| 1 | <?php |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: google/api/documentation.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 | * Represents a documentation page. A page can contain subpages to represent |
| 13 | * nested documentation set structure. |
| 14 | * |
| 15 | * Generated from protobuf message <code>google.api.Page</code> |
| 16 | */ |
| 17 | class Page extends \Google\Protobuf\Internal\Message |
| 18 | { |
| 19 | /** |
| 20 | * The name of the page. It will be used as an identity of the page to |
| 21 | * generate URI of the page, text of the link to this page in navigation, |
| 22 | * etc. The full page name (start from the root page name to this page |
| 23 | * concatenated with `.`) can be used as reference to the page in your |
| 24 | * documentation. For example: |
| 25 | * <pre><code>pages: |
| 26 | * - name: Tutorial |
| 27 | * content: (== include tutorial.md ==) |
| 28 | * subpages: |
| 29 | * - name: Java |
| 30 | * content: (== include tutorial_java.md ==) |
| 31 | * </code></pre> |
| 32 | * You can reference `Java` page using Markdown reference link syntax: |
| 33 | * `[Java][Tutorial.Java]`. |
| 34 | * |
| 35 | * Generated from protobuf field <code>string name = 1;</code> |
| 36 | */ |
| 37 | private $name = ''; |
| 38 | /** |
| 39 | * The Markdown content of the page. You can use <code>(== include {path} ==)</code> |
| 40 | * to include content from a Markdown file. |
| 41 | * |
| 42 | * Generated from protobuf field <code>string content = 2;</code> |
| 43 | */ |
| 44 | private $content = ''; |
| 45 | /** |
| 46 | * Subpages of this page. The order of subpages specified here will be |
| 47 | * honored in the generated docset. |
| 48 | * |
| 49 | * Generated from protobuf field <code>repeated .google.api.Page subpages = 3;</code> |
| 50 | */ |
| 51 | private $subpages; |
| 52 | |
| 53 | /** |
| 54 | * Constructor. |
| 55 | * |
| 56 | * @param array $data { |
| 57 | * Optional. Data for populating the Message object. |
| 58 | * |
| 59 | * @type string $name |
| 60 | * The name of the page. It will be used as an identity of the page to |
| 61 | * generate URI of the page, text of the link to this page in navigation, |
| 62 | * etc. The full page name (start from the root page name to this page |
| 63 | * concatenated with `.`) can be used as reference to the page in your |
| 64 | * documentation. For example: |
| 65 | * <pre><code>pages: |
| 66 | * - name: Tutorial |
| 67 | * content: (== include tutorial.md ==) |
| 68 | * subpages: |
| 69 | * - name: Java |
| 70 | * content: (== include tutorial_java.md ==) |
| 71 | * </code></pre> |
| 72 | * You can reference `Java` page using Markdown reference link syntax: |
| 73 | * `[Java][Tutorial.Java]`. |
| 74 | * @type string $content |
| 75 | * The Markdown content of the page. You can use <code>(== include {path} ==)</code> |
| 76 | * to include content from a Markdown file. |
| 77 | * @type \Google\Api\Page[]|\Google\Protobuf\Internal\RepeatedField $subpages |
| 78 | * Subpages of this page. The order of subpages specified here will be |
| 79 | * honored in the generated docset. |
| 80 | * } |
| 81 | */ |
| 82 | public function __construct($data = NULL) { |
| 83 | \GPBMetadata\Google\Api\Documentation::initOnce(); |
| 84 | parent::__construct($data); |
| 85 | } |
| 86 | |
| 87 | /** |
| 88 | * The name of the page. It will be used as an identity of the page to |
| 89 | * generate URI of the page, text of the link to this page in navigation, |
| 90 | * etc. The full page name (start from the root page name to this page |
| 91 | * concatenated with `.`) can be used as reference to the page in your |
| 92 | * documentation. For example: |
| 93 | * <pre><code>pages: |
| 94 | * - name: Tutorial |
| 95 | * content: (== include tutorial.md ==) |
| 96 | * subpages: |
| 97 | * - name: Java |
| 98 | * content: (== include tutorial_java.md ==) |
| 99 | * </code></pre> |
| 100 | * You can reference `Java` page using Markdown reference link syntax: |
| 101 | * `[Java][Tutorial.Java]`. |
| 102 | * |
| 103 | * Generated from protobuf field <code>string name = 1;</code> |
| 104 | * @return string |
| 105 | */ |
| 106 | public function getName() |
| 107 | { |
| 108 | return $this->name; |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * The name of the page. It will be used as an identity of the page to |
| 113 | * generate URI of the page, text of the link to this page in navigation, |
| 114 | * etc. The full page name (start from the root page name to this page |
| 115 | * concatenated with `.`) can be used as reference to the page in your |
| 116 | * documentation. For example: |
| 117 | * <pre><code>pages: |
| 118 | * - name: Tutorial |
| 119 | * content: (== include tutorial.md ==) |
| 120 | * subpages: |
| 121 | * - name: Java |
| 122 | * content: (== include tutorial_java.md ==) |
| 123 | * </code></pre> |
| 124 | * You can reference `Java` page using Markdown reference link syntax: |
| 125 | * `[Java][Tutorial.Java]`. |
| 126 | * |
| 127 | * Generated from protobuf field <code>string name = 1;</code> |
| 128 | * @param string $var |
| 129 | * @return $this |
| 130 | */ |
| 131 | public function setName($var) |
| 132 | { |
| 133 | GPBUtil::checkString($var, True); |
| 134 | $this->name = $var; |
| 135 | |
| 136 | return $this; |
| 137 | } |
| 138 | |
| 139 | /** |
| 140 | * The Markdown content of the page. You can use <code>(== include {path} ==)</code> |
| 141 | * to include content from a Markdown file. |
| 142 | * |
| 143 | * Generated from protobuf field <code>string content = 2;</code> |
| 144 | * @return string |
| 145 | */ |
| 146 | public function getContent() |
| 147 | { |
| 148 | return $this->content; |
| 149 | } |
| 150 | |
| 151 | /** |
| 152 | * The Markdown content of the page. You can use <code>(== include {path} ==)</code> |
| 153 | * to include content from a Markdown file. |
| 154 | * |
| 155 | * Generated from protobuf field <code>string content = 2;</code> |
| 156 | * @param string $var |
| 157 | * @return $this |
| 158 | */ |
| 159 | public function setContent($var) |
| 160 | { |
| 161 | GPBUtil::checkString($var, True); |
| 162 | $this->content = $var; |
| 163 | |
| 164 | return $this; |
| 165 | } |
| 166 | |
| 167 | /** |
| 168 | * Subpages of this page. The order of subpages specified here will be |
| 169 | * honored in the generated docset. |
| 170 | * |
| 171 | * Generated from protobuf field <code>repeated .google.api.Page subpages = 3;</code> |
| 172 | * @return \Google\Protobuf\Internal\RepeatedField |
| 173 | */ |
| 174 | public function getSubpages() |
| 175 | { |
| 176 | return $this->subpages; |
| 177 | } |
| 178 | |
| 179 | /** |
| 180 | * Subpages of this page. The order of subpages specified here will be |
| 181 | * honored in the generated docset. |
| 182 | * |
| 183 | * Generated from protobuf field <code>repeated .google.api.Page subpages = 3;</code> |
| 184 | * @param \Google\Api\Page[]|\Google\Protobuf\Internal\RepeatedField $var |
| 185 | * @return $this |
| 186 | */ |
| 187 | public function setSubpages($var) |
| 188 | { |
| 189 | $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\Page::class); |
| 190 | $this->subpages = $arr; |
| 191 | |
| 192 | return $this; |
| 193 | } |
| 194 | |
| 195 | } |
| 196 | |
| 197 |