Interface SearchLinkPromotionOrBuilder (0.58.0)

public interface SearchLinkPromotionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

Optional. The Promotion description. Maximum length: 200 characters.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. The Promotion description. Maximum length: 200 characters.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getEnabled()

public abstract boolean getEnabled()

Optional. The enabled promotion will be returned for any serving configs associated with the parent of the control this promotion is attached to.

This flag is used for basic site search only.

bool enabled = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enabled.

getImageUri()

public abstract String getImageUri()

Optional. The promotion thumbnail image url.

string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The imageUri.

getImageUriBytes()

public abstract ByteString getImageUriBytes()

Optional. The promotion thumbnail image url.

string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for imageUri.

getTitle()

public abstract String getTitle()

Required. The title of the promotion. Maximum length: 160 characters.

string title = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Required. The title of the promotion. Maximum length: 160 characters.

string title = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for title.

getUri()

public abstract String getUri()

Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.

string uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

Optional. The URL for the page the user wants to promote. Must be set for site search. For other verticals, this is optional.

string uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for uri.