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
Modifier and TypeMethodDescriptiongetAdScheduleTargets(int index) List of non-overlapping schedules specifying all time intervals for which the asset may serve.intList of non-overlapping schedules specifying all time intervals for which the asset may serve.List of non-overlapping schedules specifying all time intervals for which the asset may serve.getAdScheduleTargetsOrBuilder(int index) List of non-overlapping schedules specifying all time intervals for which the asset may serve.List<? extends AdScheduleInfoOrBuilder>List of non-overlapping schedules specifying all time intervals for which the asset may serve.First line of the description for the sitelink.com.google.protobuf.ByteStringFirst line of the description for the sitelink.Second line of the description for the sitelink.com.google.protobuf.ByteStringSecond line of the description for the sitelink.Last date of when this asset is effective and still serving, in yyyy-MM-dd format.com.google.protobuf.ByteStringLast date of when this asset is effective and still serving, in yyyy-MM-dd format.Required.com.google.protobuf.ByteStringRequired.Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.com.google.protobuf.ByteStringStart date of when this asset is effective and can begin serving, in yyyy-MM-dd format.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLinkText
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
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
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
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
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
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.v18.common.AdScheduleInfo ad_schedule_targets = 6; -
getAdScheduleTargets
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.v18.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.v18.common.AdScheduleInfo ad_schedule_targets = 6; -
getAdScheduleTargetsOrBuilderList
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.v18.common.AdScheduleInfo ad_schedule_targets = 6; -
getAdScheduleTargetsOrBuilder
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.v18.common.AdScheduleInfo ad_schedule_targets = 6;
-