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.v23.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.v23.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.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.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.DescriptorlongInteger 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.booleanThe resource name of the Geo Target Constant for the city.booleanThe resource name of the Geo Target Constant for the country.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.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.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.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.
-