1ffe3c632Sopenharmony_ci<?php 2ffe3c632Sopenharmony_ci# Generated by the protocol buffer compiler. DO NOT EDIT! 3ffe3c632Sopenharmony_ci# source: google/protobuf/descriptor.proto 4ffe3c632Sopenharmony_ci 5ffe3c632Sopenharmony_cinamespace Google\Protobuf\Internal; 6ffe3c632Sopenharmony_ci 7ffe3c632Sopenharmony_ciuse Google\Protobuf\Internal\GPBType; 8ffe3c632Sopenharmony_ciuse Google\Protobuf\Internal\GPBWire; 9ffe3c632Sopenharmony_ciuse Google\Protobuf\Internal\RepeatedField; 10ffe3c632Sopenharmony_ciuse Google\Protobuf\Internal\InputStream; 11ffe3c632Sopenharmony_ciuse Google\Protobuf\Internal\GPBUtil; 12ffe3c632Sopenharmony_ci 13ffe3c632Sopenharmony_ci/** 14ffe3c632Sopenharmony_ci * Describes the relationship between generated code and its original source 15ffe3c632Sopenharmony_ci * file. A GeneratedCodeInfo message is associated with only one generated 16ffe3c632Sopenharmony_ci * source file, but may contain references to different source .proto files. 17ffe3c632Sopenharmony_ci * 18ffe3c632Sopenharmony_ci * Generated from protobuf message <code>google.protobuf.GeneratedCodeInfo</code> 19ffe3c632Sopenharmony_ci */ 20ffe3c632Sopenharmony_ciclass GeneratedCodeInfo extends \Google\Protobuf\Internal\Message 21ffe3c632Sopenharmony_ci{ 22ffe3c632Sopenharmony_ci /** 23ffe3c632Sopenharmony_ci * An Annotation connects some span of text in generated code to an element 24ffe3c632Sopenharmony_ci * of its generating .proto file. 25ffe3c632Sopenharmony_ci * 26ffe3c632Sopenharmony_ci * Generated from protobuf field <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 27ffe3c632Sopenharmony_ci */ 28ffe3c632Sopenharmony_ci private $annotation; 29ffe3c632Sopenharmony_ci 30ffe3c632Sopenharmony_ci /** 31ffe3c632Sopenharmony_ci * Constructor. 32ffe3c632Sopenharmony_ci * 33ffe3c632Sopenharmony_ci * @param array $data { 34ffe3c632Sopenharmony_ci * Optional. Data for populating the Message object. 35ffe3c632Sopenharmony_ci * 36ffe3c632Sopenharmony_ci * @type \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation[]|\Google\Protobuf\Internal\RepeatedField $annotation 37ffe3c632Sopenharmony_ci * An Annotation connects some span of text in generated code to an element 38ffe3c632Sopenharmony_ci * of its generating .proto file. 39ffe3c632Sopenharmony_ci * } 40ffe3c632Sopenharmony_ci */ 41ffe3c632Sopenharmony_ci public function __construct($data = NULL) { 42ffe3c632Sopenharmony_ci \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); 43ffe3c632Sopenharmony_ci parent::__construct($data); 44ffe3c632Sopenharmony_ci } 45ffe3c632Sopenharmony_ci 46ffe3c632Sopenharmony_ci /** 47ffe3c632Sopenharmony_ci * An Annotation connects some span of text in generated code to an element 48ffe3c632Sopenharmony_ci * of its generating .proto file. 49ffe3c632Sopenharmony_ci * 50ffe3c632Sopenharmony_ci * Generated from protobuf field <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 51ffe3c632Sopenharmony_ci * @return \Google\Protobuf\Internal\RepeatedField 52ffe3c632Sopenharmony_ci */ 53ffe3c632Sopenharmony_ci public function getAnnotation() 54ffe3c632Sopenharmony_ci { 55ffe3c632Sopenharmony_ci return $this->annotation; 56ffe3c632Sopenharmony_ci } 57ffe3c632Sopenharmony_ci 58ffe3c632Sopenharmony_ci /** 59ffe3c632Sopenharmony_ci * An Annotation connects some span of text in generated code to an element 60ffe3c632Sopenharmony_ci * of its generating .proto file. 61ffe3c632Sopenharmony_ci * 62ffe3c632Sopenharmony_ci * Generated from protobuf field <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code> 63ffe3c632Sopenharmony_ci * @param \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation[]|\Google\Protobuf\Internal\RepeatedField $var 64ffe3c632Sopenharmony_ci * @return $this 65ffe3c632Sopenharmony_ci */ 66ffe3c632Sopenharmony_ci public function setAnnotation($var) 67ffe3c632Sopenharmony_ci { 68ffe3c632Sopenharmony_ci $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation::class); 69ffe3c632Sopenharmony_ci $this->annotation = $arr; 70ffe3c632Sopenharmony_ci 71ffe3c632Sopenharmony_ci return $this; 72ffe3c632Sopenharmony_ci } 73ffe3c632Sopenharmony_ci 74ffe3c632Sopenharmony_ci} 75ffe3c632Sopenharmony_ci 76