Documentation

Image extends Message
in package

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

Table of Contents

Properties

$caption  : mixed
Pie de foto.
$create_time  : 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.
$md5  : mixed
Output only. Extracted on the server when the image is created.
$name  : mixed
Output only.
$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.
clearCreateTime()  : mixed
getCaption()  : string
Pie de foto.
getCreateTime()  : 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.
getMd5()  : string
Output only. Extracted on the server when the image is created.
getName()  : string
Output only.
getServingUrl()  : string
Cannot be modified once the image is created.
getWidth()  : int
Output only. Extracted on the server when the image is created.
hasCreateTime()  : mixed
setCaption()  : $this
Pie de foto.
setCreateTime()  : $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.
setMd5()  : $this
Output only. Extracted on the server when the image is created.
setName()  : $this
Output only.
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;

$create_time

Output only.

protected mixed $create_time = null

Generated from protobuf field .google.protobuf.Timestamp create_time = 7;

$filename

Cannot be modified once the image is created.

protected mixed $filename = ''

Generated from protobuf field string filename = 2;

$height

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

protected mixed $height = 0

Generated from protobuf field int32 height = 5;

$md5

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

protected mixed $md5 = ''

Generated from protobuf field string md5 = 3;

$name

Output only.

protected mixed $name = ''

Generated from protobuf field string name = 1;

$serving_url

Cannot be modified once the image is created.

protected mixed $serving_url = ''

Generated from protobuf field string serving_url = 6;

$width

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

protected mixed $width = 0

Generated from protobuf field int32 width = 4;

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 string $name
      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 $create_time
      Output only.
@type string $caption
      Pie de foto.

}

clearCreateTime()

public clearCreateTime() : mixed

getCaption()

Pie de foto.

public getCaption() : string

Generated from protobuf field string caption = 8;

Return values
string

getCreateTime()

Output only.

public getCreateTime() : Timestamp|null

Generated from protobuf field .google.protobuf.Timestamp create_time = 7;

Return values
Timestamp|null

getFilename()

Cannot be modified once the image is created.

public getFilename() : string

Generated from protobuf field string filename = 2;

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;

Return values
int

getMd5()

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

public getMd5() : string

Generated from protobuf field string md5 = 3;

Return values
string

getName()

Output only.

public getName() : string

Generated from protobuf field string name = 1;

Return values
string

getServingUrl()

Cannot be modified once the image is created.

public getServingUrl() : string

Generated from protobuf field string serving_url = 6;

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;

Return values
int

hasCreateTime()

public hasCreateTime() : mixed

setCaption()

Pie de foto.

public setCaption(string $var) : $this

Generated from protobuf field string caption = 8;

Parameters
$var : string
Return values
$this

setCreateTime()

Output only.

public setCreateTime(Timestamp $var) : $this

Generated from protobuf field .google.protobuf.Timestamp create_time = 7;

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;

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;

Parameters
$var : int
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;

Parameters
$var : string
Return values
$this

setName()

Output only.

public setName(string $var) : $this

Generated from protobuf field string name = 1;

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;

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;

Parameters
$var : int
Return values
$this

        
On this page

Search results