Class AdGroupCriterion.PositionEstimates.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
com.google.ads.googleads.v18.resources.AdGroupCriterion.PositionEstimates.Builder
- All Implemented Interfaces:
AdGroupCriterion.PositionEstimatesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AdGroupCriterion.PositionEstimates
public static final class AdGroupCriterion.PositionEstimates.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
implements AdGroupCriterion.PositionEstimatesOrBuilder
Estimates for criterion bids at various positions.Protobuf type
google.ads.googleads.v18.resources.AdGroupCriterion.PositionEstimates-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Output only.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Output only.Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongOutput only.longOutput only.longOutput only.longOutput only.longOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setEstimatedAddClicksAtFirstPositionCpc(long value) Output only.setEstimatedAddCostAtFirstPositionCpc(long value) Output only.setFirstPageCpcMicros(long value) Output only.setFirstPositionCpcMicros(long value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTopOfPageCpcMicros(long value) Output only.setUnknownFields(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<AdGroupCriterion.PositionEstimates.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<AdGroupCriterion.PositionEstimates.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<AdGroupCriterion.PositionEstimates.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<AdGroupCriterion.PositionEstimates.Builder>
-
setField
public AdGroupCriterion.PositionEstimates.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<AdGroupCriterion.PositionEstimates.Builder>
-
clearField
public AdGroupCriterion.PositionEstimates.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
-
clearOneof
public AdGroupCriterion.PositionEstimates.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
-
setRepeatedField
public AdGroupCriterion.PositionEstimates.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<AdGroupCriterion.PositionEstimates.Builder>
-
addRepeatedField
public AdGroupCriterion.PositionEstimates.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<AdGroupCriterion.PositionEstimates.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdGroupCriterion.PositionEstimates.Builder>
-
mergeFrom
public AdGroupCriterion.PositionEstimates.Builder mergeFrom(AdGroupCriterion.PositionEstimates other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
-
mergeFrom
public AdGroupCriterion.PositionEstimates.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<AdGroupCriterion.PositionEstimates.Builder>- Throws:
IOException
-
hasFirstPageCpcMicros
public boolean hasFirstPageCpcMicros()Output only. The estimate of the CPC bid required for ad to be shown on first page of search results.
optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFirstPageCpcMicrosin interfaceAdGroupCriterion.PositionEstimatesOrBuilder- Returns:
- Whether the firstPageCpcMicros field is set.
-
getFirstPageCpcMicros
public long getFirstPageCpcMicros()Output only. The estimate of the CPC bid required for ad to be shown on first page of search results.
optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFirstPageCpcMicrosin interfaceAdGroupCriterion.PositionEstimatesOrBuilder- Returns:
- The firstPageCpcMicros.
-
setFirstPageCpcMicros
Output only. The estimate of the CPC bid required for ad to be shown on first page of search results.
optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The firstPageCpcMicros to set.- Returns:
- This builder for chaining.
-
clearFirstPageCpcMicros
Output only. The estimate of the CPC bid required for ad to be shown on first page of search results.
optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasFirstPositionCpcMicros
public boolean hasFirstPositionCpcMicros()Output only. The estimate of the CPC bid required for ad to be displayed in first position, at the top of the first page of search results.
optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFirstPositionCpcMicrosin interfaceAdGroupCriterion.PositionEstimatesOrBuilder- Returns:
- Whether the firstPositionCpcMicros field is set.
-
getFirstPositionCpcMicros
public long getFirstPositionCpcMicros()Output only. The estimate of the CPC bid required for ad to be displayed in first position, at the top of the first page of search results.
optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFirstPositionCpcMicrosin interfaceAdGroupCriterion.PositionEstimatesOrBuilder- Returns:
- The firstPositionCpcMicros.
-
setFirstPositionCpcMicros
Output only. The estimate of the CPC bid required for ad to be displayed in first position, at the top of the first page of search results.
optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The firstPositionCpcMicros to set.- Returns:
- This builder for chaining.
-
clearFirstPositionCpcMicros
Output only. The estimate of the CPC bid required for ad to be displayed in first position, at the top of the first page of search results.
optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasTopOfPageCpcMicros
public boolean hasTopOfPageCpcMicros()Output only. The estimate of the CPC bid required for ad to be displayed at the top of the first page of search results.
optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTopOfPageCpcMicrosin interfaceAdGroupCriterion.PositionEstimatesOrBuilder- Returns:
- Whether the topOfPageCpcMicros field is set.
-
getTopOfPageCpcMicros
public long getTopOfPageCpcMicros()Output only. The estimate of the CPC bid required for ad to be displayed at the top of the first page of search results.
optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTopOfPageCpcMicrosin interfaceAdGroupCriterion.PositionEstimatesOrBuilder- Returns:
- The topOfPageCpcMicros.
-
setTopOfPageCpcMicros
Output only. The estimate of the CPC bid required for ad to be displayed at the top of the first page of search results.
optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The topOfPageCpcMicros to set.- Returns:
- This builder for chaining.
-
clearTopOfPageCpcMicros
Output only. The estimate of the CPC bid required for ad to be displayed at the top of the first page of search results.
optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasEstimatedAddClicksAtFirstPositionCpc
public boolean hasEstimatedAddClicksAtFirstPositionCpc()Output only. Estimate of how many clicks per week you might get by changing your keyword bid to the value in first_position_cpc_micros.
optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEstimatedAddClicksAtFirstPositionCpcin interfaceAdGroupCriterion.PositionEstimatesOrBuilder- Returns:
- Whether the estimatedAddClicksAtFirstPositionCpc field is set.
-
getEstimatedAddClicksAtFirstPositionCpc
public long getEstimatedAddClicksAtFirstPositionCpc()Output only. Estimate of how many clicks per week you might get by changing your keyword bid to the value in first_position_cpc_micros.
optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEstimatedAddClicksAtFirstPositionCpcin interfaceAdGroupCriterion.PositionEstimatesOrBuilder- Returns:
- The estimatedAddClicksAtFirstPositionCpc.
-
setEstimatedAddClicksAtFirstPositionCpc
public AdGroupCriterion.PositionEstimates.Builder setEstimatedAddClicksAtFirstPositionCpc(long value) Output only. Estimate of how many clicks per week you might get by changing your keyword bid to the value in first_position_cpc_micros.
optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The estimatedAddClicksAtFirstPositionCpc to set.- Returns:
- This builder for chaining.
-
clearEstimatedAddClicksAtFirstPositionCpc
Output only. Estimate of how many clicks per week you might get by changing your keyword bid to the value in first_position_cpc_micros.
optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasEstimatedAddCostAtFirstPositionCpc
public boolean hasEstimatedAddCostAtFirstPositionCpc()Output only. Estimate of how your cost per week might change when changing your keyword bid to the value in first_position_cpc_micros.
optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEstimatedAddCostAtFirstPositionCpcin interfaceAdGroupCriterion.PositionEstimatesOrBuilder- Returns:
- Whether the estimatedAddCostAtFirstPositionCpc field is set.
-
getEstimatedAddCostAtFirstPositionCpc
public long getEstimatedAddCostAtFirstPositionCpc()Output only. Estimate of how your cost per week might change when changing your keyword bid to the value in first_position_cpc_micros.
optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEstimatedAddCostAtFirstPositionCpcin interfaceAdGroupCriterion.PositionEstimatesOrBuilder- Returns:
- The estimatedAddCostAtFirstPositionCpc.
-
setEstimatedAddCostAtFirstPositionCpc
Output only. Estimate of how your cost per week might change when changing your keyword bid to the value in first_position_cpc_micros.
optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The estimatedAddCostAtFirstPositionCpc to set.- Returns:
- This builder for chaining.
-
clearEstimatedAddCostAtFirstPositionCpc
Output only. Estimate of how your cost per week might change when changing your keyword bid to the value in first_position_cpc_micros.
optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
public final AdGroupCriterion.PositionEstimates.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
-
mergeUnknownFields
public final AdGroupCriterion.PositionEstimates.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
-