Interface SitelinkAssetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SitelinkAsset,SitelinkAsset.Builder
public interface SitelinkAssetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdScheduleInfogetAdScheduleTargets(int index)List of non-overlapping schedules specifying all time intervals for which the asset may serve.intgetAdScheduleTargetsCount()List of non-overlapping schedules specifying all time intervals for which the asset may serve.java.util.List<AdScheduleInfo>getAdScheduleTargetsList()List of non-overlapping schedules specifying all time intervals for which the asset may serve.AdScheduleInfoOrBuildergetAdScheduleTargetsOrBuilder(int index)List of non-overlapping schedules specifying all time intervals for which the asset may serve.java.util.List<? extends AdScheduleInfoOrBuilder>getAdScheduleTargetsOrBuilderList()List of non-overlapping schedules specifying all time intervals for which the asset may serve.java.lang.StringgetDescription1()First line of the description for the sitelink.com.google.protobuf.ByteStringgetDescription1Bytes()First line of the description for the sitelink.java.lang.StringgetDescription2()Second line of the description for the sitelink.com.google.protobuf.ByteStringgetDescription2Bytes()Second line of the description for the sitelink.java.lang.StringgetEndDate()Last date of when this asset is effective and still serving, in yyyy-MM-dd format.com.google.protobuf.ByteStringgetEndDateBytes()Last date of when this asset is effective and still serving, in yyyy-MM-dd format.java.lang.StringgetLinkText()Required.com.google.protobuf.ByteStringgetLinkTextBytes()Required.java.lang.StringgetStartDate()Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.com.google.protobuf.ByteStringgetStartDateBytes()Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLinkText
java.lang.String getLinkText()
Required. URL display text for the sitelink. The length of this string should be between 1 and 25, inclusive.
string link_text = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The linkText.
-
getLinkTextBytes
com.google.protobuf.ByteString getLinkTextBytes()
Required. URL display text for the sitelink. The length of this string should be between 1 and 25, inclusive.
string link_text = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for linkText.
-
getDescription1
java.lang.String getDescription1()
First line of the description for the sitelink. If set, the length should be between 1 and 35, inclusive, and description2 must also be set.
string description1 = 2;- Returns:
- The description1.
-
getDescription1Bytes
com.google.protobuf.ByteString getDescription1Bytes()
First line of the description for the sitelink. If set, the length should be between 1 and 35, inclusive, and description2 must also be set.
string description1 = 2;- Returns:
- The bytes for description1.
-
getDescription2
java.lang.String getDescription2()
Second line of the description for the sitelink. If set, the length should be between 1 and 35, inclusive, and description1 must also be set.
string description2 = 3;- Returns:
- The description2.
-
getDescription2Bytes
com.google.protobuf.ByteString getDescription2Bytes()
Second line of the description for the sitelink. If set, the length should be between 1 and 35, inclusive, and description1 must also be set.
string description2 = 3;- Returns:
- The bytes for description2.
-
getStartDate
java.lang.String getStartDate()
Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.
string start_date = 4;- Returns:
- The startDate.
-
getStartDateBytes
com.google.protobuf.ByteString getStartDateBytes()
Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.
string start_date = 4;- Returns:
- The bytes for startDate.
-
getEndDate
java.lang.String getEndDate()
Last date of when this asset is effective and still serving, in yyyy-MM-dd format.
string end_date = 5;- Returns:
- The endDate.
-
getEndDateBytes
com.google.protobuf.ByteString getEndDateBytes()
Last date of when this asset is effective and still serving, in yyyy-MM-dd format.
string end_date = 5;- Returns:
- The bytes for endDate.
-
getAdScheduleTargetsList
java.util.List<AdScheduleInfo> getAdScheduleTargetsList()
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedule_targets = 6;
-
getAdScheduleTargets
AdScheduleInfo getAdScheduleTargets(int index)
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedule_targets = 6;
-
getAdScheduleTargetsCount
int getAdScheduleTargetsCount()
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedule_targets = 6;
-
getAdScheduleTargetsOrBuilderList
java.util.List<? extends AdScheduleInfoOrBuilder> getAdScheduleTargetsOrBuilderList()
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedule_targets = 6;
-
getAdScheduleTargetsOrBuilder
AdScheduleInfoOrBuilder getAdScheduleTargetsOrBuilder(int index)
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
repeated .google.ads.googleads.v10.common.AdScheduleInfo ad_schedule_targets = 6;
-
-