Documentation

SegmentData extends Message
in package

Generated from protobuf message <code>website.admin.realtime_segments.SegmentData</code>

Table of Contents

Properties

$data  : mixed

Methods

__construct()  : mixed
Constructor.
getCard()  : Card|null
Tarjeta roja o amarilla en un partido.
getContent()  : Content|null
Contenido HTML.
getData()  : string
getDisallowedGoal()  : DisallowedGoal|null
Indicador de gol anulado en el partido.
getDiscount()  : Discount|null
Inicio del tiempo de descuento.
getFacebookPost()  : FacebookPost|null
Post de Facebook.
getFirstHalf()  : FirstHalf|null
Inicio del primer tiempo.
getFirstHalfExtra()  : FirstHalfExtra|null
Inicio del primer tiempo de la prorroga.
getGoal()  : Goal|null
Indicador de gol durante el partido.
getImages()  : Images|null
Imágenes.
getIncomingPlayers()  : IncomingPlayers|null
Cambio de jugadores donde solo indicamos los que entran.
getInstagramPost()  : InstagramPost|null
Post de Instagram.
getLocation()  : Location|null
Estadio y ciudad donde se celebra el partido Este segmento solo se aplica a noticias de deportes.
getNewsFeatures()  : NewsFeatures|null
Crónica final como resumen de toda la noticia.
getPenalties()  : Penalties|null
Inicio del tiempo de penalties.
getSecondHalf()  : SecondHalf|null
Inicio del segundo tiempo.
getSecondHalfExtra()  : SecondHalfExtra|null
Inicio del segundo tiempo de la prorroga.
getSubstitutedPlayers()  : SubstitutedPlayers|null
Cambio de jugadores dónde solo indicamos los que salen.
getSubstitutions()  : Substitutions|null
Cambios de jugadores.
getTeams()  : Teams|null
Información del equipo local y visitante junto con su alineación inicial.
getTweet()  : Tweet|null
Post de twitter.
getVimeoVideo()  : VimeoVideo|null
Video de Vimeo.
getYoutubeVideo()  : YoutubeVideo|null
Video de YouTube.
hasCard()  : mixed
hasContent()  : mixed
hasDisallowedGoal()  : mixed
hasDiscount()  : mixed
hasFacebookPost()  : mixed
hasFirstHalf()  : mixed
hasFirstHalfExtra()  : mixed
hasGoal()  : mixed
hasImages()  : mixed
hasIncomingPlayers()  : mixed
hasInstagramPost()  : mixed
hasLocation()  : mixed
hasNewsFeatures()  : mixed
hasPenalties()  : mixed
hasSecondHalf()  : mixed
hasSecondHalfExtra()  : mixed
hasSubstitutedPlayers()  : mixed
hasSubstitutions()  : mixed
hasTeams()  : mixed
hasTweet()  : mixed
hasVimeoVideo()  : mixed
hasYoutubeVideo()  : mixed
setCard()  : $this
Tarjeta roja o amarilla en un partido.
setContent()  : $this
Contenido HTML.
setDisallowedGoal()  : $this
Indicador de gol anulado en el partido.
setDiscount()  : $this
Inicio del tiempo de descuento.
setFacebookPost()  : $this
Post de Facebook.
setFirstHalf()  : $this
Inicio del primer tiempo.
setFirstHalfExtra()  : $this
Inicio del primer tiempo de la prorroga.
setGoal()  : $this
Indicador de gol durante el partido.
setImages()  : $this
Imágenes.
setIncomingPlayers()  : $this
Cambio de jugadores donde solo indicamos los que entran.
setInstagramPost()  : $this
Post de Instagram.
setLocation()  : $this
Estadio y ciudad donde se celebra el partido Este segmento solo se aplica a noticias de deportes.
setNewsFeatures()  : $this
Crónica final como resumen de toda la noticia.
setPenalties()  : $this
Inicio del tiempo de penalties.
setSecondHalf()  : $this
Inicio del segundo tiempo.
setSecondHalfExtra()  : $this
Inicio del segundo tiempo de la prorroga.
setSubstitutedPlayers()  : $this
Cambio de jugadores dónde solo indicamos los que salen.
setSubstitutions()  : $this
Cambios de jugadores.
setTeams()  : $this
Información del equipo local y visitante junto con su alineación inicial.
setTweet()  : $this
Post de twitter.
setVimeoVideo()  : $this
Video de Vimeo.
setYoutubeVideo()  : $this
Video de YouTube.

Properties

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 \Website\Admin\RealtimeSegments\Images $images
      Imágenes.
@type \Website\Admin\RealtimeSegments\NewsFeatures $news_features
      Crónica final como resumen de toda la noticia.
@type \Website\Admin\RealtimeSegments\YoutubeVideo $youtube_video
      Video de YouTube.
@type \Website\Admin\RealtimeSegments\VimeoVideo $vimeo_video
      Video de Vimeo.
@type \Website\Admin\RealtimeSegments\FacebookPost $facebook_post
      Post de Facebook.
@type \Website\Admin\RealtimeSegments\Tweet $tweet
      Post de twitter.
@type \Website\Admin\RealtimeSegments\InstagramPost $instagram_post
      Post de Instagram.
@type \Website\Admin\RealtimeSegments\Substitutions $substitutions
      Cambios de jugadores.
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\SubstitutedPlayers $substituted_players
      Cambio de jugadores dónde solo indicamos los que salen.
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\IncomingPlayers $incoming_players
      Cambio de jugadores donde solo indicamos los que entran.
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\Card $card
      Tarjeta roja o amarilla en un partido.
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\Goal $goal
      Indicador de gol durante el partido.
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\FirstHalf $first_half
      Inicio del primer tiempo.
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\SecondHalf $second_half
      Inicio del segundo tiempo.
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\Discount $discount
      Inicio del tiempo de descuento.
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\FirstHalfExtra $first_half_extra
      Inicio del primer tiempo de la prorroga.
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\SecondHalfExtra $second_half_extra
      Inicio del segundo tiempo de la prorroga.
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\Penalties $penalties
      Inicio del tiempo de penalties.
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\Location $location
      Estadio y ciudad donde se celebra el partido
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\Teams $teams
      Información del equipo local y visitante junto con su alineación inicial.
      Este segmento solo se aplica a noticias de deportes.
@type \Website\Admin\RealtimeSegments\Content $content
      Contenido HTML.
@type \Website\Admin\RealtimeSegments\DisallowedGoal $disallowed_goal
      Indicador de gol anulado en el partido.
      Este segmento solo se aplica a noticias de deportes.

}

getCard()

Tarjeta roja o amarilla en un partido.

public getCard() : Card|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.Card card = 11 [json_name = "card"];

Return values
Card|null

getContent()

Contenido HTML.

public getContent() : Content|null

Generated from protobuf field .website.admin.realtime_segments.Content content = 21 [json_name = "content"];

Return values
Content|null

getData()

public getData() : string
Return values
string

getDisallowedGoal()

Indicador de gol anulado en el partido.

public getDisallowedGoal() : DisallowedGoal|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.DisallowedGoal disallowed_goal = 22 [json_name = "disallowedGoal"];

Return values
DisallowedGoal|null

getDiscount()

Inicio del tiempo de descuento.

public getDiscount() : Discount|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.Discount discount = 15 [json_name = "discount"];

Return values
Discount|null

getFacebookPost()

Post de Facebook.

public getFacebookPost() : FacebookPost|null

Generated from protobuf field .website.admin.realtime_segments.FacebookPost facebook_post = 5 [json_name = "facebookPost"];

Return values
FacebookPost|null

getFirstHalf()

Inicio del primer tiempo.

public getFirstHalf() : FirstHalf|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.FirstHalf first_half = 13 [json_name = "firstHalf"];

Return values
FirstHalf|null

getFirstHalfExtra()

Inicio del primer tiempo de la prorroga.

public getFirstHalfExtra() : FirstHalfExtra|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.FirstHalfExtra first_half_extra = 16 [json_name = "firstHalfExtra"];

Return values
FirstHalfExtra|null

getGoal()

Indicador de gol durante el partido.

public getGoal() : Goal|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.Goal goal = 12 [json_name = "goal"];

Return values
Goal|null

getImages()

Imágenes.

public getImages() : Images|null

Generated from protobuf field .website.admin.realtime_segments.Images images = 1 [json_name = "images"];

Return values
Images|null

getIncomingPlayers()

Cambio de jugadores donde solo indicamos los que entran.

public getIncomingPlayers() : IncomingPlayers|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.IncomingPlayers incoming_players = 10 [json_name = "incomingPlayers"];

Return values
IncomingPlayers|null

getInstagramPost()

Post de Instagram.

public getInstagramPost() : InstagramPost|null

Generated from protobuf field .website.admin.realtime_segments.InstagramPost instagram_post = 7 [json_name = "instagramPost"];

Return values
InstagramPost|null

getLocation()

Estadio y ciudad donde se celebra el partido Este segmento solo se aplica a noticias de deportes.

public getLocation() : Location|null

Generated from protobuf field .website.admin.realtime_segments.Location location = 19 [json_name = "location"];

Return values
Location|null

getNewsFeatures()

Crónica final como resumen de toda la noticia.

public getNewsFeatures() : NewsFeatures|null

Generated from protobuf field .website.admin.realtime_segments.NewsFeatures news_features = 2 [json_name = "newsFeatures"];

Return values
NewsFeatures|null

getPenalties()

Inicio del tiempo de penalties.

public getPenalties() : Penalties|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.Penalties penalties = 18 [json_name = "penalties"];

Return values
Penalties|null

getSecondHalf()

Inicio del segundo tiempo.

public getSecondHalf() : SecondHalf|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.SecondHalf second_half = 14 [json_name = "secondHalf"];

Return values
SecondHalf|null

getSecondHalfExtra()

Inicio del segundo tiempo de la prorroga.

public getSecondHalfExtra() : SecondHalfExtra|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.SecondHalfExtra second_half_extra = 17 [json_name = "secondHalfExtra"];

Return values
SecondHalfExtra|null

getSubstitutedPlayers()

Cambio de jugadores dónde solo indicamos los que salen.

public getSubstitutedPlayers() : SubstitutedPlayers|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.SubstitutedPlayers substituted_players = 9 [json_name = "substitutedPlayers"];

Return values
SubstitutedPlayers|null

getSubstitutions()

Cambios de jugadores.

public getSubstitutions() : Substitutions|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.Substitutions substitutions = 8 [json_name = "substitutions"];

Return values
Substitutions|null

getTeams()

Información del equipo local y visitante junto con su alineación inicial.

public getTeams() : Teams|null

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.Teams teams = 20 [json_name = "teams"];

Return values
Teams|null

getTweet()

Post de twitter.

public getTweet() : Tweet|null

Generated from protobuf field .website.admin.realtime_segments.Tweet tweet = 6 [json_name = "tweet"];

Return values
Tweet|null

getVimeoVideo()

Video de Vimeo.

public getVimeoVideo() : VimeoVideo|null

Generated from protobuf field .website.admin.realtime_segments.VimeoVideo vimeo_video = 4 [json_name = "vimeoVideo"];

Return values
VimeoVideo|null

getYoutubeVideo()

Video de YouTube.

public getYoutubeVideo() : YoutubeVideo|null

Generated from protobuf field .website.admin.realtime_segments.YoutubeVideo youtube_video = 3 [json_name = "youtubeVideo"];

Return values
YoutubeVideo|null

hasDisallowedGoal()

public hasDisallowedGoal() : mixed

hasFirstHalfExtra()

public hasFirstHalfExtra() : mixed

hasIncomingPlayers()

public hasIncomingPlayers() : mixed

hasInstagramPost()

public hasInstagramPost() : mixed

hasSecondHalfExtra()

public hasSecondHalfExtra() : mixed

hasSubstitutedPlayers()

public hasSubstitutedPlayers() : mixed

hasSubstitutions()

public hasSubstitutions() : mixed

setCard()

Tarjeta roja o amarilla en un partido.

public setCard(Card $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.Card card = 11 [json_name = "card"];

Parameters
$var : Card
Return values
$this

setContent()

Contenido HTML.

public setContent(Content $var) : $this

Generated from protobuf field .website.admin.realtime_segments.Content content = 21 [json_name = "content"];

Parameters
$var : Content
Return values
$this

setDisallowedGoal()

Indicador de gol anulado en el partido.

public setDisallowedGoal(DisallowedGoal $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.DisallowedGoal disallowed_goal = 22 [json_name = "disallowedGoal"];

Parameters
$var : DisallowedGoal
Return values
$this

setDiscount()

Inicio del tiempo de descuento.

public setDiscount(Discount $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.Discount discount = 15 [json_name = "discount"];

Parameters
$var : Discount
Return values
$this

setFacebookPost()

Post de Facebook.

public setFacebookPost(FacebookPost $var) : $this

Generated from protobuf field .website.admin.realtime_segments.FacebookPost facebook_post = 5 [json_name = "facebookPost"];

Parameters
$var : FacebookPost
Return values
$this

setFirstHalf()

Inicio del primer tiempo.

public setFirstHalf(FirstHalf $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.FirstHalf first_half = 13 [json_name = "firstHalf"];

Parameters
$var : FirstHalf
Return values
$this

setFirstHalfExtra()

Inicio del primer tiempo de la prorroga.

public setFirstHalfExtra(FirstHalfExtra $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.FirstHalfExtra first_half_extra = 16 [json_name = "firstHalfExtra"];

Parameters
$var : FirstHalfExtra
Return values
$this

setGoal()

Indicador de gol durante el partido.

public setGoal(Goal $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.Goal goal = 12 [json_name = "goal"];

Parameters
$var : Goal
Return values
$this

setImages()

Imágenes.

public setImages(Images $var) : $this

Generated from protobuf field .website.admin.realtime_segments.Images images = 1 [json_name = "images"];

Parameters
$var : Images
Return values
$this

setIncomingPlayers()

Cambio de jugadores donde solo indicamos los que entran.

public setIncomingPlayers(IncomingPlayers $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.IncomingPlayers incoming_players = 10 [json_name = "incomingPlayers"];

Parameters
$var : IncomingPlayers
Return values
$this

setInstagramPost()

Post de Instagram.

public setInstagramPost(InstagramPost $var) : $this

Generated from protobuf field .website.admin.realtime_segments.InstagramPost instagram_post = 7 [json_name = "instagramPost"];

Parameters
$var : InstagramPost
Return values
$this

setLocation()

Estadio y ciudad donde se celebra el partido Este segmento solo se aplica a noticias de deportes.

public setLocation(Location $var) : $this

Generated from protobuf field .website.admin.realtime_segments.Location location = 19 [json_name = "location"];

Parameters
$var : Location
Return values
$this

setNewsFeatures()

Crónica final como resumen de toda la noticia.

public setNewsFeatures(NewsFeatures $var) : $this

Generated from protobuf field .website.admin.realtime_segments.NewsFeatures news_features = 2 [json_name = "newsFeatures"];

Parameters
$var : NewsFeatures
Return values
$this

setPenalties()

Inicio del tiempo de penalties.

public setPenalties(Penalties $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.Penalties penalties = 18 [json_name = "penalties"];

Parameters
$var : Penalties
Return values
$this

setSecondHalf()

Inicio del segundo tiempo.

public setSecondHalf(SecondHalf $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.SecondHalf second_half = 14 [json_name = "secondHalf"];

Parameters
$var : SecondHalf
Return values
$this

setSecondHalfExtra()

Inicio del segundo tiempo de la prorroga.

public setSecondHalfExtra(SecondHalfExtra $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.SecondHalfExtra second_half_extra = 17 [json_name = "secondHalfExtra"];

Parameters
$var : SecondHalfExtra
Return values
$this

setSubstitutedPlayers()

Cambio de jugadores dónde solo indicamos los que salen.

public setSubstitutedPlayers(SubstitutedPlayers $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.SubstitutedPlayers substituted_players = 9 [json_name = "substitutedPlayers"];

Parameters
$var : SubstitutedPlayers
Return values
$this

setSubstitutions()

Cambios de jugadores.

public setSubstitutions(Substitutions $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.Substitutions substitutions = 8 [json_name = "substitutions"];

Parameters
$var : Substitutions
Return values
$this

setTeams()

Información del equipo local y visitante junto con su alineación inicial.

public setTeams(Teams $var) : $this

Este segmento solo se aplica a noticias de deportes.

Generated from protobuf field .website.admin.realtime_segments.Teams teams = 20 [json_name = "teams"];

Parameters
$var : Teams
Return values
$this

setTweet()

Post de twitter.

public setTweet(Tweet $var) : $this

Generated from protobuf field .website.admin.realtime_segments.Tweet tweet = 6 [json_name = "tweet"];

Parameters
$var : Tweet
Return values
$this

setVimeoVideo()

Video de Vimeo.

public setVimeoVideo(VimeoVideo $var) : $this

Generated from protobuf field .website.admin.realtime_segments.VimeoVideo vimeo_video = 4 [json_name = "vimeoVideo"];

Parameters
$var : VimeoVideo
Return values
$this

setYoutubeVideo()

Video de YouTube.

public setYoutubeVideo(YoutubeVideo $var) : $this

Generated from protobuf field .website.admin.realtime_segments.YoutubeVideo youtube_video = 3 [json_name = "youtubeVideo"];

Parameters
$var : YoutubeVideo
Return values
$this

        
On this page

Search results