Class WebpageInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.Builder>
com.google.ads.googleads.v18.common.WebpageInfo.Builder
- All Implemented Interfaces:
WebpageInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- WebpageInfo
public static final class WebpageInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.Builder>
implements WebpageInfoOrBuilder
Represents a criterion for targeting webpages of an advertiser's website.Protobuf type
google.ads.googleads.v18.common.WebpageInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllConditions(Iterable<? extends WebpageConditionInfo> values) Conditions, or logical expressions, for webpage targeting.addConditions(int index, WebpageConditionInfo value) Conditions, or logical expressions, for webpage targeting.addConditions(int index, WebpageConditionInfo.Builder builderForValue) Conditions, or logical expressions, for webpage targeting.Conditions, or logical expressions, for webpage targeting.addConditions(WebpageConditionInfo.Builder builderForValue) Conditions, or logical expressions, for webpage targeting.Conditions, or logical expressions, for webpage targeting.addConditionsBuilder(int index) Conditions, or logical expressions, for webpage targeting.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Conditions, or logical expressions, for webpage targeting.Website criteria coverage percentage.The name of the criterion that is defined by this parameter.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) List of sample urls that match the website target.clone()getConditions(int index) Conditions, or logical expressions, for webpage targeting.getConditionsBuilder(int index) Conditions, or logical expressions, for webpage targeting.Conditions, or logical expressions, for webpage targeting.intConditions, or logical expressions, for webpage targeting.Conditions, or logical expressions, for webpage targeting.getConditionsOrBuilder(int index) Conditions, or logical expressions, for webpage targeting.List<? extends WebpageConditionInfoOrBuilder>Conditions, or logical expressions, for webpage targeting.doubleWebsite criteria coverage percentage.The name of the criterion that is defined by this parameter.com.google.protobuf.ByteStringThe name of the criterion that is defined by this parameter.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorList of sample urls that match the website target.List of sample urls that match the website target.List of sample urls that match the website target.booleanThe name of the criterion that is defined by this parameter.booleanList of sample urls that match the website target.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(WebpageInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSample(WebpageSampleInfo value) List of sample urls that match the website target.final WebpageInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeConditions(int index) Conditions, or logical expressions, for webpage targeting.setConditions(int index, WebpageConditionInfo value) Conditions, or logical expressions, for webpage targeting.setConditions(int index, WebpageConditionInfo.Builder builderForValue) Conditions, or logical expressions, for webpage targeting.setCoveragePercentage(double value) Website criteria coverage percentage.setCriterionName(String value) The name of the criterion that is defined by this parameter.setCriterionNameBytes(com.google.protobuf.ByteString value) The name of the criterion that is defined by this parameter.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSample(WebpageSampleInfo value) List of sample urls that match the website target.setSample(WebpageSampleInfo.Builder builderForValue) List of sample urls that match the website target.final WebpageInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.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.GeneratedMessageV3.Builder<WebpageInfo.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.Builder>
-
setField
public WebpageInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.Builder>
-
setRepeatedField
public WebpageInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.Builder>
-
addRepeatedField
public WebpageInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WebpageInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.Builder>
-
mergeFrom
public WebpageInfo.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<WebpageInfo.Builder>- Throws:
IOException
-
hasCriterionName
public boolean hasCriterionName()The name of the criterion that is defined by this parameter. The name value will be used for identifying, sorting and filtering criteria with this type of parameters. This field is required for CREATE operations and is prohibited on UPDATE operations.
optional string criterion_name = 3;- Specified by:
hasCriterionNamein interfaceWebpageInfoOrBuilder- Returns:
- Whether the criterionName field is set.
-
getCriterionName
The name of the criterion that is defined by this parameter. The name value will be used for identifying, sorting and filtering criteria with this type of parameters. This field is required for CREATE operations and is prohibited on UPDATE operations.
optional string criterion_name = 3;- Specified by:
getCriterionNamein interfaceWebpageInfoOrBuilder- Returns:
- The criterionName.
-
getCriterionNameBytes
public com.google.protobuf.ByteString getCriterionNameBytes()The name of the criterion that is defined by this parameter. The name value will be used for identifying, sorting and filtering criteria with this type of parameters. This field is required for CREATE operations and is prohibited on UPDATE operations.
optional string criterion_name = 3;- Specified by:
getCriterionNameBytesin interfaceWebpageInfoOrBuilder- Returns:
- The bytes for criterionName.
-
setCriterionName
The name of the criterion that is defined by this parameter. The name value will be used for identifying, sorting and filtering criteria with this type of parameters. This field is required for CREATE operations and is prohibited on UPDATE operations.
optional string criterion_name = 3;- Parameters:
value- The criterionName to set.- Returns:
- This builder for chaining.
-
clearCriterionName
The name of the criterion that is defined by this parameter. The name value will be used for identifying, sorting and filtering criteria with this type of parameters. This field is required for CREATE operations and is prohibited on UPDATE operations.
optional string criterion_name = 3;- Returns:
- This builder for chaining.
-
setCriterionNameBytes
The name of the criterion that is defined by this parameter. The name value will be used for identifying, sorting and filtering criteria with this type of parameters. This field is required for CREATE operations and is prohibited on UPDATE operations.
optional string criterion_name = 3;- Parameters:
value- The bytes for criterionName to set.- Returns:
- This builder for chaining.
-
getConditionsList
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2;- Specified by:
getConditionsListin interfaceWebpageInfoOrBuilder
-
getConditionsCount
public int getConditionsCount()Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2;- Specified by:
getConditionsCountin interfaceWebpageInfoOrBuilder
-
getConditions
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2;- Specified by:
getConditionsin interfaceWebpageInfoOrBuilder
-
setConditions
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
setConditions
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
addConditions
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
addConditions
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
addConditions
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
addConditions
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
addAllConditions
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
clearConditions
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
removeConditions
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
getConditionsBuilder
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
getConditionsOrBuilder
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2;- Specified by:
getConditionsOrBuilderin interfaceWebpageInfoOrBuilder
-
getConditionsOrBuilderList
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2;- Specified by:
getConditionsOrBuilderListin interfaceWebpageInfoOrBuilder
-
addConditionsBuilder
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
addConditionsBuilder
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
getConditionsBuilderList
Conditions, or logical expressions, for webpage targeting. The list of webpage targeting conditions are and-ed together when evaluated for targeting. An empty list of conditions indicates all pages of the campaign's website are targeted. This field is required for CREATE operations and is prohibited on UPDATE operations.
repeated .google.ads.googleads.v18.common.WebpageConditionInfo conditions = 2; -
getCoveragePercentage
public double getCoveragePercentage()Website criteria coverage percentage. This is the computed percentage of website coverage based on the website target, negative website target and negative keywords in the ad group and campaign. For instance, when coverage returns as 1, it indicates it has 100% coverage. This field is read-only.
double coverage_percentage = 4;- Specified by:
getCoveragePercentagein interfaceWebpageInfoOrBuilder- Returns:
- The coveragePercentage.
-
setCoveragePercentage
Website criteria coverage percentage. This is the computed percentage of website coverage based on the website target, negative website target and negative keywords in the ad group and campaign. For instance, when coverage returns as 1, it indicates it has 100% coverage. This field is read-only.
double coverage_percentage = 4;- Parameters:
value- The coveragePercentage to set.- Returns:
- This builder for chaining.
-
clearCoveragePercentage
Website criteria coverage percentage. This is the computed percentage of website coverage based on the website target, negative website target and negative keywords in the ad group and campaign. For instance, when coverage returns as 1, it indicates it has 100% coverage. This field is read-only.
double coverage_percentage = 4;- Returns:
- This builder for chaining.
-
hasSample
public boolean hasSample()List of sample urls that match the website target. This field is read-only.
.google.ads.googleads.v18.common.WebpageSampleInfo sample = 5;- Specified by:
hasSamplein interfaceWebpageInfoOrBuilder- Returns:
- Whether the sample field is set.
-
getSample
List of sample urls that match the website target. This field is read-only.
.google.ads.googleads.v18.common.WebpageSampleInfo sample = 5;- Specified by:
getSamplein interfaceWebpageInfoOrBuilder- Returns:
- The sample.
-
setSample
List of sample urls that match the website target. This field is read-only.
.google.ads.googleads.v18.common.WebpageSampleInfo sample = 5; -
setSample
List of sample urls that match the website target. This field is read-only.
.google.ads.googleads.v18.common.WebpageSampleInfo sample = 5; -
mergeSample
List of sample urls that match the website target. This field is read-only.
.google.ads.googleads.v18.common.WebpageSampleInfo sample = 5; -
clearSample
List of sample urls that match the website target. This field is read-only.
.google.ads.googleads.v18.common.WebpageSampleInfo sample = 5; -
getSampleBuilder
List of sample urls that match the website target. This field is read-only.
.google.ads.googleads.v18.common.WebpageSampleInfo sample = 5; -
getSampleOrBuilder
List of sample urls that match the website target. This field is read-only.
.google.ads.googleads.v18.common.WebpageSampleInfo sample = 5;- Specified by:
getSampleOrBuilderin interfaceWebpageInfoOrBuilder
-
setUnknownFields
public final WebpageInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.Builder>
-
mergeUnknownFields
public final WebpageInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WebpageInfo.Builder>
-