Documentation

Image extends Message
in package

Generated from protobuf message <code>lvcontent.uploaded_images.Image</code>

Table of Contents

Properties

$caption  : mixed
Pie de foto.
$created  : mixed
Output only.
$filename  : mixed
Cannot be modified once the image is created.
$height  : mixed
Output only. Extracted on the server when the image is created.
$id  : mixed
Output only.
$md5  : mixed
Output only. Extracted on the server when the image is created.
$serving_url  : mixed
Cannot be modified once the image is created.
$width  : mixed
Output only. Extracted on the server when the image is created.

Methods

__construct()  : mixed
Constructor.
clearCreated()  : mixed
getCaption()  : string
Pie de foto.
getCreated()  : Timestamp|null
Output only.
getFilename()  : string
Cannot be modified once the image is created.
getHeight()  : int
Output only. Extracted on the server when the image is created.
getId()  : int|string
Output only.
getMd5()  : string
Output only. Extracted on the server when the image is created.
getServingUrl()  : string
Cannot be modified once the image is created.
getWidth()  : int
Output only. Extracted on the server when the image is created.
hasCreated()  : mixed
setCaption()  : $this
Pie de foto.
setCreated()  : $this
Output only.
setFilename()  : $this
Cannot be modified once the image is created.
setHeight()  : $this
Output only. Extracted on the server when the image is created.
setId()  : $this
Output only.
setMd5()  : $this
Output only. Extracted on the server when the image is created.
setServingUrl()  : $this
Cannot be modified once the image is created.
setWidth()  : $this
Output only. Extracted on the server when the image is created.

Properties

$caption

Pie de foto.

protected mixed $caption = ''

Generated from protobuf field string caption = 8 [json_name = "caption"];

$created

Output only.

protected mixed $created = null

Generated from protobuf field .google.protobuf.Timestamp created = 7 [json_name = "created"];

$filename

Cannot be modified once the image is created.

protected mixed $filename = ''

Generated from protobuf field string filename = 2 [json_name = "filename"];

$height

Output only. Extracted on the server when the image is created.

protected mixed $height = 0

Generated from protobuf field int32 height = 5 [json_name = "height"];

$id

Output only.

protected mixed $id = 0

Generated from protobuf field int64 id = 1 [json_name = "id"];

$md5

Output only. Extracted on the server when the image is created.

protected mixed $md5 = ''

Generated from protobuf field string md5 = 3 [json_name = "md5"];

$serving_url

Cannot be modified once the image is created.

protected mixed $serving_url = ''

Generated from protobuf field string serving_url = 6 [json_name = "servingUrl"];

$width

Output only. Extracted on the server when the image is created.

protected mixed $width = 0

Generated from protobuf field int32 width = 4 [json_name = "width"];

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 int|string $id
      Output only.
@type string $filename
      Cannot be modified once the image is created.
@type string $md5
      Output only. Extracted on the server when the image is created.
@type int $width
      Output only. Extracted on the server when the image is created.
@type int $height
      Output only. Extracted on the server when the image is created.
@type string $serving_url
      Cannot be modified once the image is created.
@type \Google\Protobuf\Timestamp $created
      Output only.
@type string $caption
      Pie de foto.

}

clearCreated()

public clearCreated() : mixed

getCaption()

Pie de foto.

public getCaption() : string

Generated from protobuf field string caption = 8 [json_name = "caption"];

Return values
string

getCreated()

Output only.

public getCreated() : Timestamp|null

Generated from protobuf field .google.protobuf.Timestamp created = 7 [json_name = "created"];

Return values
Timestamp|null

getFilename()

Cannot be modified once the image is created.

public getFilename() : string

Generated from protobuf field string filename = 2 [json_name = "filename"];

Return values
string

getHeight()

Output only. Extracted on the server when the image is created.

public getHeight() : int

Generated from protobuf field int32 height = 5 [json_name = "height"];

Return values
int

getId()

Output only.

public getId() : int|string

Generated from protobuf field int64 id = 1 [json_name = "id"];

Return values
int|string

getMd5()

Output only. Extracted on the server when the image is created.

public getMd5() : string

Generated from protobuf field string md5 = 3 [json_name = "md5"];

Return values
string

getServingUrl()

Cannot be modified once the image is created.

public getServingUrl() : string

Generated from protobuf field string serving_url = 6 [json_name = "servingUrl"];

Return values
string

getWidth()

Output only. Extracted on the server when the image is created.

public getWidth() : int

Generated from protobuf field int32 width = 4 [json_name = "width"];

Return values
int

hasCreated()

public hasCreated() : mixed

setCaption()

Pie de foto.

public setCaption(string $var) : $this

Generated from protobuf field string caption = 8 [json_name = "caption"];

Parameters
$var : string
Return values
$this

setCreated()

Output only.

public setCreated(Timestamp $var) : $this

Generated from protobuf field .google.protobuf.Timestamp created = 7 [json_name = "created"];

Parameters
$var : Timestamp
Return values
$this

setFilename()

Cannot be modified once the image is created.

public setFilename(string $var) : $this

Generated from protobuf field string filename = 2 [json_name = "filename"];

Parameters
$var : string
Return values
$this

setHeight()

Output only. Extracted on the server when the image is created.

public setHeight(int $var) : $this

Generated from protobuf field int32 height = 5 [json_name = "height"];

Parameters
$var : int
Return values
$this

setId()

Output only.

public setId(int|string $var) : $this

Generated from protobuf field int64 id = 1 [json_name = "id"];

Parameters
$var : int|string
Return values
$this

setMd5()

Output only. Extracted on the server when the image is created.

public setMd5(string $var) : $this

Generated from protobuf field string md5 = 3 [json_name = "md5"];

Parameters
$var : string
Return values
$this

setServingUrl()

Cannot be modified once the image is created.

public setServingUrl(string $var) : $this

Generated from protobuf field string serving_url = 6 [json_name = "servingUrl"];

Parameters
$var : string
Return values
$this

setWidth()

Output only. Extracted on the server when the image is created.

public setWidth(int $var) : $this

Generated from protobuf field int32 width = 4 [json_name = "width"];

Parameters
$var : int
Return values
$this

        
On this page

Search results