allow vendord
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
This commit is contained in:
200
vendor/google/common-protos/src/Api/Page.php
vendored
Normal file
200
vendor/google/common-protos/src/Api/Page.php
vendored
Normal file
@@ -0,0 +1,200 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/documentation.proto
|
||||
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
|
||||
/**
|
||||
* Represents a documentation page. A page can contain subpages to represent
|
||||
* nested documentation set structure.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.Page</code>
|
||||
*/
|
||||
class Page extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The name of the page. It will be used as an identity of the page to
|
||||
* generate URI of the page, text of the link to this page in navigation,
|
||||
* etc. The full page name (start from the root page name to this page
|
||||
* concatenated with `.`) can be used as reference to the page in your
|
||||
* documentation. For example:
|
||||
* <pre><code>pages:
|
||||
* - name: Tutorial
|
||||
* content: (== include tutorial.md ==)
|
||||
* subpages:
|
||||
* - name: Java
|
||||
* content: (== include tutorial_java.md ==)
|
||||
* </code></pre>
|
||||
* You can reference `Java` page using Markdown reference link syntax:
|
||||
* `[Java][Tutorial.Java]`.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 1;</code>
|
||||
*/
|
||||
protected $name = '';
|
||||
/**
|
||||
* The Markdown content of the page. You can use ```(== include {path}
|
||||
* ==)``` to include content from a Markdown file. The content can be used
|
||||
* to produce the documentation page such as HTML format page.
|
||||
*
|
||||
* Generated from protobuf field <code>string content = 2;</code>
|
||||
*/
|
||||
protected $content = '';
|
||||
/**
|
||||
* Subpages of this page. The order of subpages specified here will be
|
||||
* honored in the generated docset.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Page subpages = 3;</code>
|
||||
*/
|
||||
private $subpages;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $name
|
||||
* The name of the page. It will be used as an identity of the page to
|
||||
* generate URI of the page, text of the link to this page in navigation,
|
||||
* etc. The full page name (start from the root page name to this page
|
||||
* concatenated with `.`) can be used as reference to the page in your
|
||||
* documentation. For example:
|
||||
* <pre><code>pages:
|
||||
* - name: Tutorial
|
||||
* content: (== include tutorial.md ==)
|
||||
* subpages:
|
||||
* - name: Java
|
||||
* content: (== include tutorial_java.md ==)
|
||||
* </code></pre>
|
||||
* You can reference `Java` page using Markdown reference link syntax:
|
||||
* `[Java][Tutorial.Java]`.
|
||||
* @type string $content
|
||||
* The Markdown content of the page. You can use ```(== include {path}
|
||||
* ==)``` to include content from a Markdown file. The content can be used
|
||||
* to produce the documentation page such as HTML format page.
|
||||
* @type array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $subpages
|
||||
* Subpages of this page. The order of subpages specified here will be
|
||||
* honored in the generated docset.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Google\Api\Documentation::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* The name of the page. It will be used as an identity of the page to
|
||||
* generate URI of the page, text of the link to this page in navigation,
|
||||
* etc. The full page name (start from the root page name to this page
|
||||
* concatenated with `.`) can be used as reference to the page in your
|
||||
* documentation. For example:
|
||||
* <pre><code>pages:
|
||||
* - name: Tutorial
|
||||
* content: (== include tutorial.md ==)
|
||||
* subpages:
|
||||
* - name: Java
|
||||
* content: (== include tutorial_java.md ==)
|
||||
* </code></pre>
|
||||
* You can reference `Java` page using Markdown reference link syntax:
|
||||
* `[Java][Tutorial.Java]`.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* The name of the page. It will be used as an identity of the page to
|
||||
* generate URI of the page, text of the link to this page in navigation,
|
||||
* etc. The full page name (start from the root page name to this page
|
||||
* concatenated with `.`) can be used as reference to the page in your
|
||||
* documentation. For example:
|
||||
* <pre><code>pages:
|
||||
* - name: Tutorial
|
||||
* content: (== include tutorial.md ==)
|
||||
* subpages:
|
||||
* - name: Java
|
||||
* content: (== include tutorial_java.md ==)
|
||||
* </code></pre>
|
||||
* You can reference `Java` page using Markdown reference link syntax:
|
||||
* `[Java][Tutorial.Java]`.
|
||||
*
|
||||
* Generated from protobuf field <code>string name = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setName($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->name = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The Markdown content of the page. You can use ```(== include {path}
|
||||
* ==)``` to include content from a Markdown file. The content can be used
|
||||
* to produce the documentation page such as HTML format page.
|
||||
*
|
||||
* Generated from protobuf field <code>string content = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getContent()
|
||||
{
|
||||
return $this->content;
|
||||
}
|
||||
|
||||
/**
|
||||
* The Markdown content of the page. You can use ```(== include {path}
|
||||
* ==)``` to include content from a Markdown file. The content can be used
|
||||
* to produce the documentation page such as HTML format page.
|
||||
*
|
||||
* Generated from protobuf field <code>string content = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setContent($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->content = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Subpages of this page. The order of subpages specified here will be
|
||||
* honored in the generated docset.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Page subpages = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
*/
|
||||
public function getSubpages()
|
||||
{
|
||||
return $this->subpages;
|
||||
}
|
||||
|
||||
/**
|
||||
* Subpages of this page. The order of subpages specified here will be
|
||||
* honored in the generated docset.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Page subpages = 3;</code>
|
||||
* @param array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSubpages($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\Page::class);
|
||||
$this->subpages = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user