mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-26 05:49:51 +00:00
164 lines
4.0 KiB
PHP
Vendored
164 lines
4.0 KiB
PHP
Vendored
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: api/multicast_group.proto
|
|
|
|
namespace Chirpstack\Api;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>api.GetMulticastGroupResponse</code>
|
|
*/
|
|
class GetMulticastGroupResponse extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Multicast group object.
|
|
*
|
|
* Generated from protobuf field <code>.api.MulticastGroup multicast_group = 1;</code>
|
|
*/
|
|
protected $multicast_group = null;
|
|
/**
|
|
* Created at timestamp.
|
|
*
|
|
* Generated from protobuf field <code>.google.protobuf.Timestamp created_at = 2;</code>
|
|
*/
|
|
protected $created_at = null;
|
|
/**
|
|
* Last update timestamp.
|
|
*
|
|
* Generated from protobuf field <code>.google.protobuf.Timestamp updated_at = 3;</code>
|
|
*/
|
|
protected $updated_at = null;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Chirpstack\Api\MulticastGroup $multicast_group
|
|
* Multicast group object.
|
|
* @type \Google\Protobuf\Timestamp $created_at
|
|
* Created at timestamp.
|
|
* @type \Google\Protobuf\Timestamp $updated_at
|
|
* Last update timestamp.
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Chirpstack\Api\MulticastGroup::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Multicast group object.
|
|
*
|
|
* Generated from protobuf field <code>.api.MulticastGroup multicast_group = 1;</code>
|
|
* @return \Chirpstack\Api\MulticastGroup|null
|
|
*/
|
|
public function getMulticastGroup()
|
|
{
|
|
return $this->multicast_group;
|
|
}
|
|
|
|
public function hasMulticastGroup()
|
|
{
|
|
return isset($this->multicast_group);
|
|
}
|
|
|
|
public function clearMulticastGroup()
|
|
{
|
|
unset($this->multicast_group);
|
|
}
|
|
|
|
/**
|
|
* Multicast group object.
|
|
*
|
|
* Generated from protobuf field <code>.api.MulticastGroup multicast_group = 1;</code>
|
|
* @param \Chirpstack\Api\MulticastGroup $var
|
|
* @return $this
|
|
*/
|
|
public function setMulticastGroup($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Chirpstack\Api\MulticastGroup::class);
|
|
$this->multicast_group = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Created at timestamp.
|
|
*
|
|
* Generated from protobuf field <code>.google.protobuf.Timestamp created_at = 2;</code>
|
|
* @return \Google\Protobuf\Timestamp|null
|
|
*/
|
|
public function getCreatedAt()
|
|
{
|
|
return $this->created_at;
|
|
}
|
|
|
|
public function hasCreatedAt()
|
|
{
|
|
return isset($this->created_at);
|
|
}
|
|
|
|
public function clearCreatedAt()
|
|
{
|
|
unset($this->created_at);
|
|
}
|
|
|
|
/**
|
|
* Created at timestamp.
|
|
*
|
|
* Generated from protobuf field <code>.google.protobuf.Timestamp created_at = 2;</code>
|
|
* @param \Google\Protobuf\Timestamp $var
|
|
* @return $this
|
|
*/
|
|
public function setCreatedAt($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
|
|
$this->created_at = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Last update timestamp.
|
|
*
|
|
* Generated from protobuf field <code>.google.protobuf.Timestamp updated_at = 3;</code>
|
|
* @return \Google\Protobuf\Timestamp|null
|
|
*/
|
|
public function getUpdatedAt()
|
|
{
|
|
return $this->updated_at;
|
|
}
|
|
|
|
public function hasUpdatedAt()
|
|
{
|
|
return isset($this->updated_at);
|
|
}
|
|
|
|
public function clearUpdatedAt()
|
|
{
|
|
unset($this->updated_at);
|
|
}
|
|
|
|
/**
|
|
* Last update timestamp.
|
|
*
|
|
* Generated from protobuf field <code>.google.protobuf.Timestamp updated_at = 3;</code>
|
|
* @param \Google\Protobuf\Timestamp $var
|
|
* @return $this
|
|
*/
|
|
public function setUpdatedAt($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
|
|
$this->updated_at = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|