Documentation

ServeReply extends Message
in package

Generated from protobuf message <code>tagger_serve.tagger.ServeReply</code>

Table of Contents

Properties

$cache_until_time  : mixed
May cache this answer until this exact time. It should be refreshed after that.
$tags  : mixed
Generated from protobuf field <code>repeated .tagger_serve.tagger.Tag tags = 1 [json_name = "tags"];</code>

Methods

__construct()  : mixed
Constructor.
clearCacheUntilTime()  : mixed
getCacheUntilTime()  : Timestamp|null
May cache this answer until this exact time. It should be refreshed after that.
getTags()  : RepeatedField
Generated from protobuf field <code>repeated .tagger_serve.tagger.Tag tags = 1 [json_name = "tags"];</code>
hasCacheUntilTime()  : mixed
setCacheUntilTime()  : $this
May cache this answer until this exact time. It should be refreshed after that.
setTags()  : $this
Generated from protobuf field <code>repeated .tagger_serve.tagger.Tag tags = 1 [json_name = "tags"];</code>

Properties

$cache_until_time

May cache this answer until this exact time. It should be refreshed after that.

protected mixed $cache_until_time = null

Generated from protobuf field .google.protobuf.Timestamp cache_until_time = 2 [json_name = "cacheUntilTime"];

$tags

Generated from protobuf field <code>repeated .tagger_serve.tagger.Tag tags = 1 [json_name = "tags"];</code>

private mixed $tags

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

@type array<\TaggerServe\Tagger\Tag>|\Google\Protobuf\Internal\RepeatedField $tags
@type \Google\Protobuf\Timestamp $cache_until_time
      May cache this answer until this exact time. It should be refreshed after that.

}

clearCacheUntilTime()

public clearCacheUntilTime() : mixed

getCacheUntilTime()

May cache this answer until this exact time. It should be refreshed after that.

public getCacheUntilTime() : Timestamp|null

Generated from protobuf field .google.protobuf.Timestamp cache_until_time = 2 [json_name = "cacheUntilTime"];

Return values
Timestamp|null

getTags()

Generated from protobuf field <code>repeated .tagger_serve.tagger.Tag tags = 1 [json_name = "tags"];</code>

public getTags() : RepeatedField
Return values
RepeatedField

hasCacheUntilTime()

public hasCacheUntilTime() : mixed

setCacheUntilTime()

May cache this answer until this exact time. It should be refreshed after that.

public setCacheUntilTime(Timestamp $var) : $this

Generated from protobuf field .google.protobuf.Timestamp cache_until_time = 2 [json_name = "cacheUntilTime"];

Parameters
$var : Timestamp
Return values
$this

setTags()

Generated from protobuf field <code>repeated .tagger_serve.tagger.Tag tags = 1 [json_name = "tags"];</code>

public setTags(array<string|int, Tag>|RepeatedField $var) : $this
Parameters
$var : array<string|int, Tag>|RepeatedField
Return values
$this

        
On this page

Search results