Hide

ItemScope.Builder

public static class ItemScope.Builder extends Object
java.lang.Object
   ↳ com.google.android.gms.plus.model.moments.ItemScope.Builder

Public Constructor Summary

Public Method Summary

ItemScope
build()
ItemScope.Builder
ItemScope.Builder
setAdditionalName(List<String> additionalName)
ItemScope.Builder
ItemScope.Builder
setAddressCountry(String addressCountry)
ItemScope.Builder
setAddressLocality(String addressLocality)
ItemScope.Builder
setAddressRegion(String addressRegion)
ItemScope.Builder
setAssociated_media(List<ItemScope> associated_media)
ItemScope.Builder
setAttendeeCount(int attendeeCount)
ItemScope.Builder
ItemScope.Builder
ItemScope.Builder
ItemScope.Builder
setBestRating(String bestRating)
ItemScope.Builder
setBirthDate(String birthDate)
ItemScope.Builder
ItemScope.Builder
setCaption(String caption)
ItemScope.Builder
setContentSize(String contentSize)
ItemScope.Builder
setContentUrl(String contentUrl)
ItemScope.Builder
setContributor(List<ItemScope> contributor)
ItemScope.Builder
setDateCreated(String dateCreated)
ItemScope.Builder
setDateModified(String dateModified)
ItemScope.Builder
setDatePublished(String datePublished)
ItemScope.Builder
setDescription(String description)
ItemScope.Builder
setDuration(String duration)
ItemScope.Builder
setEmbedUrl(String embedUrl)
ItemScope.Builder
setEndDate(String endDate)
ItemScope.Builder
setFamilyName(String familyName)
ItemScope.Builder
setGender(String gender)
ItemScope.Builder
ItemScope.Builder
setGivenName(String givenName)
ItemScope.Builder
setHeight(String height)
ItemScope.Builder
ItemScope.Builder
setImage(String image)
ItemScope.Builder
ItemScope.Builder
setLatitude(double latitude)
ItemScope.Builder
ItemScope.Builder
setLongitude(double longitude)
ItemScope.Builder
setName(String name)
ItemScope.Builder
setPartOfTVSeries(ItemScope partOfTVSeries)
ItemScope.Builder
ItemScope.Builder
setPlayerType(String playerType)
ItemScope.Builder
setPostOfficeBoxNumber(String postOfficeBoxNumber)
ItemScope.Builder
setPostalCode(String postalCode)
ItemScope.Builder
setRatingValue(String ratingValue)
ItemScope.Builder
setReviewRating(ItemScope reviewRating)
ItemScope.Builder
setStartDate(String startDate)
ItemScope.Builder
setStreetAddress(String streetAddress)
ItemScope.Builder
setText(String text)
ItemScope.Builder
setThumbnail(ItemScope thumbnail)
ItemScope.Builder
setThumbnailUrl(String thumbnailUrl)
ItemScope.Builder
setTickerSymbol(String tickerSymbol)
ItemScope.Builder
setType(String type)
ItemScope.Builder
setUrl(String url)
ItemScope.Builder
setWidth(String width)
ItemScope.Builder
setWorstRating(String worstRating)

Public Constructors

public ItemScope.Builder ()

Constructs a new Builder.

Public Methods

public ItemScope build ()

Constructs a ItemScope with the current properties.

public ItemScope.Builder setAbout (ItemScope about)

The subject matter of the content.

public ItemScope.Builder setAdditionalName (List<String> additionalName)

An additional name for a Person, can be used for a middle name.

public ItemScope.Builder setAddress (ItemScope address)

Postal address.

public ItemScope.Builder setAddressCountry (String addressCountry)

Address country.

public ItemScope.Builder setAddressLocality (String addressLocality)

Address locality.

public ItemScope.Builder setAddressRegion (String addressRegion)

Address region.

public ItemScope.Builder setAssociated_media (List<ItemScope> associated_media)

The encoding.

public ItemScope.Builder setAttendeeCount (int attendeeCount)

Number of attendees.

public ItemScope.Builder setAttendees (List<ItemScope> attendees)

A person attending the event.

public ItemScope.Builder setAudio (ItemScope audio)

From http://schema.org/MusicRecording, the audio file.

public ItemScope.Builder setAuthor (List<ItemScope> author)

The person or persons who created this result. In the example of restaurant reviews, this might be the reviewer's name.

public ItemScope.Builder setBestRating (String bestRating)

Best possible rating value that a result might obtain. This property defines the upper bound for the ratingValue. For example, you might have a 5 star rating scale, you would provide 5 as the value for this property.

public ItemScope.Builder setBirthDate (String birthDate)

Date of birth.

public ItemScope.Builder setByArtist (ItemScope byArtist)

From http://schema.org/MusicRecording, the artist that performed this recording.

public ItemScope.Builder setCaption (String caption)

The caption for this object.

public ItemScope.Builder setContentSize (String contentSize)

File size in (mega/kilo) bytes.

public ItemScope.Builder setContentUrl (String contentUrl)

Actual bytes of the media object, for example the image file or video file.

public ItemScope.Builder setContributor (List<ItemScope> contributor)

A list of contributors to this result.

public ItemScope.Builder setDateCreated (String dateCreated)

The date the result was created such as the date that a review was first created.

public ItemScope.Builder setDateModified (String dateModified)

The date the result was last modified such as the date that a review was last edited.

public ItemScope.Builder setDatePublished (String datePublished)

The initial date that the result was published. For example, a user writes a comment on a blog, which has a result.dateCreated of when they submit it. If the blog users comment moderation, the result.datePublished value would match the date when the owner approved the message.

public ItemScope.Builder setDescription (String description)

The string that describes the content of the result.

public ItemScope.Builder setDuration (String duration)

The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.

public ItemScope.Builder setEmbedUrl (String embedUrl)

A URL pointing to a player for a specific video. In general, this is the information in the src element of an embed tag and should not be the same as the content of the loc tag.

public ItemScope.Builder setEndDate (String endDate)

The end date and time of the event (in ISO 8601 date format).

public ItemScope.Builder setFamilyName (String familyName)

Family name. This property can be used with givenName instead of the name property.

public ItemScope.Builder setGender (String gender)

Gender of the person.

public ItemScope.Builder setGeo (ItemScope geo)

Geo coordinates.

public ItemScope.Builder setGivenName (String givenName)

Given name. This property can be used with familyName instead of the name property.

public ItemScope.Builder setHeight (String height)

The height of the media object.

public ItemScope.Builder setId (String id)

An identifier for the target. Your app can choose how to identify targets. The target.id is required if you are writing an activity that does not have a corresponding web page or target.url property.

public ItemScope.Builder setImage (String image)

A URL to the image that represents this result. For example, if a user writes a review of a restaurant and attaches a photo of their meal, you might use that photo as the result.image.

public ItemScope.Builder setInAlbum (ItemScope inAlbum)

From http://schema.org/MusicRecording, which album a song is in.

public ItemScope.Builder setLatitude (double latitude)

Latitude.

public ItemScope.Builder setLocation (ItemScope location)

The location of the event or organization.

public ItemScope.Builder setLongitude (double longitude)

Longitude.

public ItemScope.Builder setName (String name)

The name of the result. In the example of a restaurant review, this might be the summary the user gave their review such as "Great ambiance, but overpriced."

public ItemScope.Builder setPartOfTVSeries (ItemScope partOfTVSeries)

Property of http://schema.org/TVEpisode indicating which series the episode belongs to.

public ItemScope.Builder setPerformers (List<ItemScope> performers)

The main performer or performers of the event-for example, a presenter, musician, or actor.

public ItemScope.Builder setPlayerType (String playerType)

Player type that is required. For example: Flash or Silverlight.

public ItemScope.Builder setPostOfficeBoxNumber (String postOfficeBoxNumber)

Post office box number.

public ItemScope.Builder setPostalCode (String postalCode)

Postal code.

public ItemScope.Builder setRatingValue (String ratingValue)

Rating value.

public ItemScope.Builder setReviewRating (ItemScope reviewRating)

Review rating.

public ItemScope.Builder setStartDate (String startDate)

The start date and time of the event (in ISO 8601 date format).

public ItemScope.Builder setStreetAddress (String streetAddress)

Street address.

public ItemScope.Builder setText (String text)

The text that is the result of the app activity. For example, if a user leaves a review of a restaurant, this might be the text of the review.

public ItemScope.Builder setThumbnail (ItemScope thumbnail)

Thumbnail image for an image or video.

public ItemScope.Builder setThumbnailUrl (String thumbnailUrl)

A URL to a thumbnail image that represents this result.

public ItemScope.Builder setTickerSymbol (String tickerSymbol)

The exchange traded instrument associated with a Corporation object. The tickerSymbol is expressed as an exchange and an instrument name separated by a space character. For the exchange component of the tickerSymbol attribute, we reccommend using the controlled vocaulary of Market Identifier Codes (MIC) specified in ISO15022.

public ItemScope.Builder setType (String type)

The schema.org URL that best describes the referenced target and matches the type of moment.

public ItemScope.Builder setUrl (String url)

The URL that points to the result object. For example, a permalink directly to a restaurant reviewer's comment.

public ItemScope.Builder setWidth (String width)

The width of the media object.

public ItemScope.Builder setWorstRating (String worstRating)

Worst possible rating value that a result might obtain. This property defines the lower bound for the ratingValue.