Image
extends Message
in package
Generated from protobuf message <code>website.admin.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 [json_name = "caption"];
$create_time
Output only.
protected
mixed
$create_time
= null
Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [json_name = "createTime"];
$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"];
$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"];
$name
Output only.
protected
mixed
$name
= ''
Generated from protobuf field string name = 1 [json_name = "name"];
$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 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 [json_name = "caption"];
Return values
stringgetCreateTime()
Output only.
public
getCreateTime() : Timestamp|null
Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [json_name = "createTime"];
Return values
Timestamp|nullgetFilename()
Cannot be modified once the image is created.
public
getFilename() : string
Generated from protobuf field string filename = 2 [json_name = "filename"];
Return values
stringgetHeight()
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
intgetMd5()
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
stringgetName()
Output only.
public
getName() : string
Generated from protobuf field string name = 1 [json_name = "name"];
Return values
stringgetServingUrl()
Cannot be modified once the image is created.
public
getServingUrl() : string
Generated from protobuf field string serving_url = 6 [json_name = "servingUrl"];
Return values
stringgetWidth()
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
inthasCreateTime()
public
hasCreateTime() : 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
$thissetCreateTime()
Output only.
public
setCreateTime(Timestamp $var) : $this
Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [json_name = "createTime"];
Parameters
- $var : Timestamp
Return values
$thissetFilename()
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
$thissetHeight()
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
$thissetMd5()
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
$thissetName()
Output only.
public
setName(string $var) : $this
Generated from protobuf field string name = 1 [json_name = "name"];
Parameters
- $var : string
Return values
$thissetServingUrl()
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
$thissetWidth()
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