Class AdGroupCriterion.QualityInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
- com.google.ads.googleads.v9.resources.AdGroupCriterion.QualityInfo.Builder
-
- All Implemented Interfaces:
AdGroupCriterion.QualityInfoOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- AdGroupCriterion.QualityInfo
public static final class AdGroupCriterion.QualityInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder> implements AdGroupCriterion.QualityInfoOrBuilder
A container for ad group criterion quality information.
Protobuf typegoogle.ads.googleads.v9.resources.AdGroupCriterion.QualityInfo
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
clear
public AdGroupCriterion.QualityInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
getDefaultInstanceForType
public AdGroupCriterion.QualityInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AdGroupCriterion.QualityInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AdGroupCriterion.QualityInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AdGroupCriterion.QualityInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
setField
public AdGroupCriterion.QualityInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
clearField
public AdGroupCriterion.QualityInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
clearOneof
public AdGroupCriterion.QualityInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
setRepeatedField
public AdGroupCriterion.QualityInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
addRepeatedField
public AdGroupCriterion.QualityInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
mergeFrom
public AdGroupCriterion.QualityInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AdGroupCriterion.QualityInfo.Builder>
-
mergeFrom
public AdGroupCriterion.QualityInfo.Builder mergeFrom(AdGroupCriterion.QualityInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
mergeFrom
public AdGroupCriterion.QualityInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AdGroupCriterion.QualityInfo.Builder>
- Throws:
java.io.IOException
-
hasQualityScore
public boolean hasQualityScore()
Output only. The quality score. This field may not be populated if Google does not have enough information to determine a value.
optional int32 quality_score = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasQualityScore
in interfaceAdGroupCriterion.QualityInfoOrBuilder
- Returns:
- Whether the qualityScore field is set.
-
getQualityScore
public int getQualityScore()
Output only. The quality score. This field may not be populated if Google does not have enough information to determine a value.
optional int32 quality_score = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getQualityScore
in interfaceAdGroupCriterion.QualityInfoOrBuilder
- Returns:
- The qualityScore.
-
setQualityScore
public AdGroupCriterion.QualityInfo.Builder setQualityScore(int value)
Output only. The quality score. This field may not be populated if Google does not have enough information to determine a value.
optional int32 quality_score = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The qualityScore to set.- Returns:
- This builder for chaining.
-
clearQualityScore
public AdGroupCriterion.QualityInfo.Builder clearQualityScore()
Output only. The quality score. This field may not be populated if Google does not have enough information to determine a value.
optional int32 quality_score = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getCreativeQualityScoreValue
public int getCreativeQualityScoreValue()
Output only. The performance of the ad compared to other advertisers.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreativeQualityScoreValue
in interfaceAdGroupCriterion.QualityInfoOrBuilder
- Returns:
- The enum numeric value on the wire for creativeQualityScore.
-
setCreativeQualityScoreValue
public AdGroupCriterion.QualityInfo.Builder setCreativeQualityScoreValue(int value)
Output only. The performance of the ad compared to other advertisers.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for creativeQualityScore to set.- Returns:
- This builder for chaining.
-
getCreativeQualityScore
public QualityScoreBucketEnum.QualityScoreBucket getCreativeQualityScore()
Output only. The performance of the ad compared to other advertisers.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreativeQualityScore
in interfaceAdGroupCriterion.QualityInfoOrBuilder
- Returns:
- The creativeQualityScore.
-
setCreativeQualityScore
public AdGroupCriterion.QualityInfo.Builder setCreativeQualityScore(QualityScoreBucketEnum.QualityScoreBucket value)
Output only. The performance of the ad compared to other advertisers.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The creativeQualityScore to set.- Returns:
- This builder for chaining.
-
clearCreativeQualityScore
public AdGroupCriterion.QualityInfo.Builder clearCreativeQualityScore()
Output only. The performance of the ad compared to other advertisers.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getPostClickQualityScoreValue
public int getPostClickQualityScoreValue()
Output only. The quality score of the landing page.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket post_click_quality_score = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPostClickQualityScoreValue
in interfaceAdGroupCriterion.QualityInfoOrBuilder
- Returns:
- The enum numeric value on the wire for postClickQualityScore.
-
setPostClickQualityScoreValue
public AdGroupCriterion.QualityInfo.Builder setPostClickQualityScoreValue(int value)
Output only. The quality score of the landing page.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket post_click_quality_score = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for postClickQualityScore to set.- Returns:
- This builder for chaining.
-
getPostClickQualityScore
public QualityScoreBucketEnum.QualityScoreBucket getPostClickQualityScore()
Output only. The quality score of the landing page.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket post_click_quality_score = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPostClickQualityScore
in interfaceAdGroupCriterion.QualityInfoOrBuilder
- Returns:
- The postClickQualityScore.
-
setPostClickQualityScore
public AdGroupCriterion.QualityInfo.Builder setPostClickQualityScore(QualityScoreBucketEnum.QualityScoreBucket value)
Output only. The quality score of the landing page.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket post_click_quality_score = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The postClickQualityScore to set.- Returns:
- This builder for chaining.
-
clearPostClickQualityScore
public AdGroupCriterion.QualityInfo.Builder clearPostClickQualityScore()
Output only. The quality score of the landing page.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket post_click_quality_score = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getSearchPredictedCtrValue
public int getSearchPredictedCtrValue()
Output only. The click-through rate compared to that of other advertisers.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSearchPredictedCtrValue
in interfaceAdGroupCriterion.QualityInfoOrBuilder
- Returns:
- The enum numeric value on the wire for searchPredictedCtr.
-
setSearchPredictedCtrValue
public AdGroupCriterion.QualityInfo.Builder setSearchPredictedCtrValue(int value)
Output only. The click-through rate compared to that of other advertisers.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for searchPredictedCtr to set.- Returns:
- This builder for chaining.
-
getSearchPredictedCtr
public QualityScoreBucketEnum.QualityScoreBucket getSearchPredictedCtr()
Output only. The click-through rate compared to that of other advertisers.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSearchPredictedCtr
in interfaceAdGroupCriterion.QualityInfoOrBuilder
- Returns:
- The searchPredictedCtr.
-
setSearchPredictedCtr
public AdGroupCriterion.QualityInfo.Builder setSearchPredictedCtr(QualityScoreBucketEnum.QualityScoreBucket value)
Output only. The click-through rate compared to that of other advertisers.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The searchPredictedCtr to set.- Returns:
- This builder for chaining.
-
clearSearchPredictedCtr
public AdGroupCriterion.QualityInfo.Builder clearSearchPredictedCtr()
Output only. The click-through rate compared to that of other advertisers.
.google.ads.googleads.v9.enums.QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final AdGroupCriterion.QualityInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
mergeUnknownFields
public final AdGroupCriterion.QualityInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.QualityInfo.Builder>
-
-