Class VerticalAdsItemGroupRuleInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VerticalAdsItemGroupRuleInfo.Builder>
com.google.ads.googleads.v24.common.VerticalAdsItemGroupRuleInfo.Builder
- All Implemented Interfaces:
VerticalAdsItemGroupRuleInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VerticalAdsItemGroupRuleInfo
public static final class VerticalAdsItemGroupRuleInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VerticalAdsItemGroupRuleInfo.Builder>
implements VerticalAdsItemGroupRuleInfoOrBuilder
A criterion to represent a single item group rule in Vertical Ads.Protobuf type
google.ads.googleads.v24.common.VerticalAdsItemGroupRuleInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The resource name of the Geo Target Constant for the city.The resource name of the Geo Target Constant for the country.The name of an associated participant for a given event.Integer value specifying the class rating for a hotel.The id specifying a particular Vertical Ad listing.The resource name of the Geo Target Constant for the region.Integer value specifying the user rating for a Vertical Ad listing.A name for a specific location, like the venue for a concert event.The resource name of the Geo Target Constant for the city.com.google.protobuf.ByteStringThe resource name of the Geo Target Constant for the city.The resource name of the Geo Target Constant for the country.com.google.protobuf.ByteStringThe resource name of the Geo Target Constant for the country.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of an associated participant for a given event.com.google.protobuf.ByteStringThe name of an associated participant for a given event.longInteger value specifying the class rating for a hotel.The id specifying a particular Vertical Ad listing.com.google.protobuf.ByteStringThe id specifying a particular Vertical Ad listing.The resource name of the Geo Target Constant for the region.com.google.protobuf.ByteStringThe resource name of the Geo Target Constant for the region.longInteger value specifying the user rating for a Vertical Ad listing.getVenue()A name for a specific location, like the venue for a concert event.com.google.protobuf.ByteStringA name for a specific location, like the venue for a concert event.booleanThe resource name of the Geo Target Constant for the city.booleanThe resource name of the Geo Target Constant for the country.booleanThe name of an associated participant for a given event.booleanInteger value specifying the class rating for a hotel.booleanThe id specifying a particular Vertical Ad listing.booleanThe resource name of the Geo Target Constant for the region.booleanInteger value specifying the user rating for a Vertical Ad listing.booleanhasVenue()A name for a specific location, like the venue for a concert event.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCityCriterionId(String value) The resource name of the Geo Target Constant for the city.setCityCriterionIdBytes(com.google.protobuf.ByteString value) The resource name of the Geo Target Constant for the city.setCountryCriterionId(String value) The resource name of the Geo Target Constant for the country.setCountryCriterionIdBytes(com.google.protobuf.ByteString value) The resource name of the Geo Target Constant for the country.The name of an associated participant for a given event.setEventParticipantDisplayNameBytes(com.google.protobuf.ByteString value) The name of an associated participant for a given event.setHotelClass(long value) Integer value specifying the class rating for a hotel.setItemCode(String value) The id specifying a particular Vertical Ad listing.setItemCodeBytes(com.google.protobuf.ByteString value) The id specifying a particular Vertical Ad listing.setRegionCriterionId(String value) The resource name of the Geo Target Constant for the region.setRegionCriterionIdBytes(com.google.protobuf.ByteString value) The resource name of the Geo Target Constant for the region.setUserRating(long value) Integer value specifying the user rating for a Vertical Ad listing.A name for a specific location, like the venue for a concert event.setVenueBytes(com.google.protobuf.ByteString value) A name for a specific location, like the venue for a concert event.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VerticalAdsItemGroupRuleInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VerticalAdsItemGroupRuleInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VerticalAdsItemGroupRuleInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VerticalAdsItemGroupRuleInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VerticalAdsItemGroupRuleInfo.Builder>
-
mergeFrom
public VerticalAdsItemGroupRuleInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VerticalAdsItemGroupRuleInfo.Builder>- Throws:
IOException
-
getDimensionCase
- Specified by:
getDimensionCasein interfaceVerticalAdsItemGroupRuleInfoOrBuilder
-
clearDimension
-
hasItemCode
public boolean hasItemCode()The id specifying a particular Vertical Ad listing.
string item_code = 1;- Specified by:
hasItemCodein interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- Whether the itemCode field is set.
-
getItemCode
The id specifying a particular Vertical Ad listing.
string item_code = 1;- Specified by:
getItemCodein interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The itemCode.
-
getItemCodeBytes
public com.google.protobuf.ByteString getItemCodeBytes()The id specifying a particular Vertical Ad listing.
string item_code = 1;- Specified by:
getItemCodeBytesin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The bytes for itemCode.
-
setItemCode
The id specifying a particular Vertical Ad listing.
string item_code = 1;- Parameters:
value- The itemCode to set.- Returns:
- This builder for chaining.
-
clearItemCode
The id specifying a particular Vertical Ad listing.
string item_code = 1;- Returns:
- This builder for chaining.
-
setItemCodeBytes
The id specifying a particular Vertical Ad listing.
string item_code = 1;- Parameters:
value- The bytes for itemCode to set.- Returns:
- This builder for chaining.
-
hasCountryCriterionId
public boolean hasCountryCriterionId()The resource name of the Geo Target Constant for the country.
string country_criterion_id = 2;- Specified by:
hasCountryCriterionIdin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- Whether the countryCriterionId field is set.
-
getCountryCriterionId
The resource name of the Geo Target Constant for the country.
string country_criterion_id = 2;- Specified by:
getCountryCriterionIdin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The countryCriterionId.
-
getCountryCriterionIdBytes
public com.google.protobuf.ByteString getCountryCriterionIdBytes()The resource name of the Geo Target Constant for the country.
string country_criterion_id = 2;- Specified by:
getCountryCriterionIdBytesin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The bytes for countryCriterionId.
-
setCountryCriterionId
The resource name of the Geo Target Constant for the country.
string country_criterion_id = 2;- Parameters:
value- The countryCriterionId to set.- Returns:
- This builder for chaining.
-
clearCountryCriterionId
The resource name of the Geo Target Constant for the country.
string country_criterion_id = 2;- Returns:
- This builder for chaining.
-
setCountryCriterionIdBytes
public VerticalAdsItemGroupRuleInfo.Builder setCountryCriterionIdBytes(com.google.protobuf.ByteString value) The resource name of the Geo Target Constant for the country.
string country_criterion_id = 2;- Parameters:
value- The bytes for countryCriterionId to set.- Returns:
- This builder for chaining.
-
hasRegionCriterionId
public boolean hasRegionCriterionId()The resource name of the Geo Target Constant for the region.
string region_criterion_id = 3;- Specified by:
hasRegionCriterionIdin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- Whether the regionCriterionId field is set.
-
getRegionCriterionId
The resource name of the Geo Target Constant for the region.
string region_criterion_id = 3;- Specified by:
getRegionCriterionIdin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The regionCriterionId.
-
getRegionCriterionIdBytes
public com.google.protobuf.ByteString getRegionCriterionIdBytes()The resource name of the Geo Target Constant for the region.
string region_criterion_id = 3;- Specified by:
getRegionCriterionIdBytesin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The bytes for regionCriterionId.
-
setRegionCriterionId
The resource name of the Geo Target Constant for the region.
string region_criterion_id = 3;- Parameters:
value- The regionCriterionId to set.- Returns:
- This builder for chaining.
-
clearRegionCriterionId
The resource name of the Geo Target Constant for the region.
string region_criterion_id = 3;- Returns:
- This builder for chaining.
-
setRegionCriterionIdBytes
public VerticalAdsItemGroupRuleInfo.Builder setRegionCriterionIdBytes(com.google.protobuf.ByteString value) The resource name of the Geo Target Constant for the region.
string region_criterion_id = 3;- Parameters:
value- The bytes for regionCriterionId to set.- Returns:
- This builder for chaining.
-
hasCityCriterionId
public boolean hasCityCriterionId()The resource name of the Geo Target Constant for the city.
string city_criterion_id = 4;- Specified by:
hasCityCriterionIdin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- Whether the cityCriterionId field is set.
-
getCityCriterionId
The resource name of the Geo Target Constant for the city.
string city_criterion_id = 4;- Specified by:
getCityCriterionIdin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The cityCriterionId.
-
getCityCriterionIdBytes
public com.google.protobuf.ByteString getCityCriterionIdBytes()The resource name of the Geo Target Constant for the city.
string city_criterion_id = 4;- Specified by:
getCityCriterionIdBytesin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The bytes for cityCriterionId.
-
setCityCriterionId
The resource name of the Geo Target Constant for the city.
string city_criterion_id = 4;- Parameters:
value- The cityCriterionId to set.- Returns:
- This builder for chaining.
-
clearCityCriterionId
The resource name of the Geo Target Constant for the city.
string city_criterion_id = 4;- Returns:
- This builder for chaining.
-
setCityCriterionIdBytes
public VerticalAdsItemGroupRuleInfo.Builder setCityCriterionIdBytes(com.google.protobuf.ByteString value) The resource name of the Geo Target Constant for the city.
string city_criterion_id = 4;- Parameters:
value- The bytes for cityCriterionId to set.- Returns:
- This builder for chaining.
-
hasHotelClass
public boolean hasHotelClass()Integer value specifying the class rating for a hotel. Ranges from 1 to 5 stars.
int64 hotel_class = 6;- Specified by:
hasHotelClassin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- Whether the hotelClass field is set.
-
getHotelClass
public long getHotelClass()Integer value specifying the class rating for a hotel. Ranges from 1 to 5 stars.
int64 hotel_class = 6;- Specified by:
getHotelClassin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The hotelClass.
-
setHotelClass
Integer value specifying the class rating for a hotel. Ranges from 1 to 5 stars.
int64 hotel_class = 6;- Parameters:
value- The hotelClass to set.- Returns:
- This builder for chaining.
-
clearHotelClass
Integer value specifying the class rating for a hotel. Ranges from 1 to 5 stars.
int64 hotel_class = 6;- Returns:
- This builder for chaining.
-
hasUserRating
public boolean hasUserRating()Integer value specifying the user rating for a Vertical Ad listing. Ranges from 1 to 5, where 5 is the best.
int64 user_rating = 7;- Specified by:
hasUserRatingin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- Whether the userRating field is set.
-
getUserRating
public long getUserRating()Integer value specifying the user rating for a Vertical Ad listing. Ranges from 1 to 5, where 5 is the best.
int64 user_rating = 7;- Specified by:
getUserRatingin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The userRating.
-
setUserRating
Integer value specifying the user rating for a Vertical Ad listing. Ranges from 1 to 5, where 5 is the best.
int64 user_rating = 7;- Parameters:
value- The userRating to set.- Returns:
- This builder for chaining.
-
clearUserRating
Integer value specifying the user rating for a Vertical Ad listing. Ranges from 1 to 5, where 5 is the best.
int64 user_rating = 7;- Returns:
- This builder for chaining.
-
hasVenue
public boolean hasVenue()A name for a specific location, like the venue for a concert event.
string venue = 8;- Specified by:
hasVenuein interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- Whether the venue field is set.
-
getVenue
A name for a specific location, like the venue for a concert event.
string venue = 8;- Specified by:
getVenuein interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The venue.
-
getVenueBytes
public com.google.protobuf.ByteString getVenueBytes()A name for a specific location, like the venue for a concert event.
string venue = 8;- Specified by:
getVenueBytesin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The bytes for venue.
-
setVenue
A name for a specific location, like the venue for a concert event.
string venue = 8;- Parameters:
value- The venue to set.- Returns:
- This builder for chaining.
-
clearVenue
A name for a specific location, like the venue for a concert event.
string venue = 8;- Returns:
- This builder for chaining.
-
setVenueBytes
A name for a specific location, like the venue for a concert event.
string venue = 8;- Parameters:
value- The bytes for venue to set.- Returns:
- This builder for chaining.
-
hasEventParticipantDisplayName
public boolean hasEventParticipantDisplayName()The name of an associated participant for a given event. For example, headliner for a concert event.
string event_participant_display_name = 9;- Specified by:
hasEventParticipantDisplayNamein interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- Whether the eventParticipantDisplayName field is set.
-
getEventParticipantDisplayName
The name of an associated participant for a given event. For example, headliner for a concert event.
string event_participant_display_name = 9;- Specified by:
getEventParticipantDisplayNamein interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The eventParticipantDisplayName.
-
getEventParticipantDisplayNameBytes
public com.google.protobuf.ByteString getEventParticipantDisplayNameBytes()The name of an associated participant for a given event. For example, headliner for a concert event.
string event_participant_display_name = 9;- Specified by:
getEventParticipantDisplayNameBytesin interfaceVerticalAdsItemGroupRuleInfoOrBuilder- Returns:
- The bytes for eventParticipantDisplayName.
-
setEventParticipantDisplayName
The name of an associated participant for a given event. For example, headliner for a concert event.
string event_participant_display_name = 9;- Parameters:
value- The eventParticipantDisplayName to set.- Returns:
- This builder for chaining.
-
clearEventParticipantDisplayName
The name of an associated participant for a given event. For example, headliner for a concert event.
string event_participant_display_name = 9;- Returns:
- This builder for chaining.
-
setEventParticipantDisplayNameBytes
public VerticalAdsItemGroupRuleInfo.Builder setEventParticipantDisplayNameBytes(com.google.protobuf.ByteString value) The name of an associated participant for a given event. For example, headliner for a concert event.
string event_participant_display_name = 9;- Parameters:
value- The bytes for eventParticipantDisplayName to set.- Returns:
- This builder for chaining.
-