com.google.ads.googleads.v10.common.BidModifierSimulationPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v10 Show documentation
Show all versions of google-ads-stubs-v10 Show documentation
Stubs for GAAPI version google-ads-stubs-v10
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/common/simulation.proto
package com.google.ads.googleads.v10.common;
/**
*
* Projected metrics for a specific bid modifier amount.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.BidModifierSimulationPoint}
*/
public final class BidModifierSimulationPoint extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.BidModifierSimulationPoint)
BidModifierSimulationPointOrBuilder {
private static final long serialVersionUID = 0L;
// Use BidModifierSimulationPoint.newBuilder() to construct.
private BidModifierSimulationPoint(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BidModifierSimulationPoint() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BidModifierSimulationPoint();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v10.common.SimulationProto.internal_static_google_ads_googleads_v10_common_BidModifierSimulationPoint_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.SimulationProto.internal_static_google_ads_googleads_v10_common_BidModifierSimulationPoint_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.BidModifierSimulationPoint.class, com.google.ads.googleads.v10.common.BidModifierSimulationPoint.Builder.class);
}
private int bitField0_;
public static final int BID_MODIFIER_FIELD_NUMBER = 15;
private double bidModifier_;
/**
*
* The simulated bid modifier upon which projected metrics are based.
*
*
* optional double bid_modifier = 15;
* @return Whether the bidModifier field is set.
*/
@java.lang.Override
public boolean hasBidModifier() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The simulated bid modifier upon which projected metrics are based.
*
*
* optional double bid_modifier = 15;
* @return The bidModifier.
*/
@java.lang.Override
public double getBidModifier() {
return bidModifier_;
}
public static final int BIDDABLE_CONVERSIONS_FIELD_NUMBER = 16;
private double biddableConversions_;
/**
*
* Projected number of biddable conversions.
* Only search advertising channel type supports this field.
*
*
* optional double biddable_conversions = 16;
* @return Whether the biddableConversions field is set.
*/
@java.lang.Override
public boolean hasBiddableConversions() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Projected number of biddable conversions.
* Only search advertising channel type supports this field.
*
*
* optional double biddable_conversions = 16;
* @return The biddableConversions.
*/
@java.lang.Override
public double getBiddableConversions() {
return biddableConversions_;
}
public static final int BIDDABLE_CONVERSIONS_VALUE_FIELD_NUMBER = 17;
private double biddableConversionsValue_;
/**
*
* Projected total value of biddable conversions.
* Only search advertising channel type supports this field.
*
*
* optional double biddable_conversions_value = 17;
* @return Whether the biddableConversionsValue field is set.
*/
@java.lang.Override
public boolean hasBiddableConversionsValue() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Projected total value of biddable conversions.
* Only search advertising channel type supports this field.
*
*
* optional double biddable_conversions_value = 17;
* @return The biddableConversionsValue.
*/
@java.lang.Override
public double getBiddableConversionsValue() {
return biddableConversionsValue_;
}
public static final int CLICKS_FIELD_NUMBER = 18;
private long clicks_;
/**
*
* Projected number of clicks.
*
*
* optional int64 clicks = 18;
* @return Whether the clicks field is set.
*/
@java.lang.Override
public boolean hasClicks() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Projected number of clicks.
*
*
* optional int64 clicks = 18;
* @return The clicks.
*/
@java.lang.Override
public long getClicks() {
return clicks_;
}
public static final int COST_MICROS_FIELD_NUMBER = 19;
private long costMicros_;
/**
*
* Projected cost in micros.
*
*
* optional int64 cost_micros = 19;
* @return Whether the costMicros field is set.
*/
@java.lang.Override
public boolean hasCostMicros() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Projected cost in micros.
*
*
* optional int64 cost_micros = 19;
* @return The costMicros.
*/
@java.lang.Override
public long getCostMicros() {
return costMicros_;
}
public static final int IMPRESSIONS_FIELD_NUMBER = 20;
private long impressions_;
/**
*
* Projected number of impressions.
*
*
* optional int64 impressions = 20;
* @return Whether the impressions field is set.
*/
@java.lang.Override
public boolean hasImpressions() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Projected number of impressions.
*
*
* optional int64 impressions = 20;
* @return The impressions.
*/
@java.lang.Override
public long getImpressions() {
return impressions_;
}
public static final int TOP_SLOT_IMPRESSIONS_FIELD_NUMBER = 21;
private long topSlotImpressions_;
/**
*
* Projected number of top slot impressions.
* Only search advertising channel type supports this field.
*
*
* optional int64 top_slot_impressions = 21;
* @return Whether the topSlotImpressions field is set.
*/
@java.lang.Override
public boolean hasTopSlotImpressions() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Projected number of top slot impressions.
* Only search advertising channel type supports this field.
*
*
* optional int64 top_slot_impressions = 21;
* @return The topSlotImpressions.
*/
@java.lang.Override
public long getTopSlotImpressions() {
return topSlotImpressions_;
}
public static final int PARENT_BIDDABLE_CONVERSIONS_FIELD_NUMBER = 22;
private double parentBiddableConversions_;
/**
*
* Projected number of biddable conversions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional double parent_biddable_conversions = 22;
* @return Whether the parentBiddableConversions field is set.
*/
@java.lang.Override
public boolean hasParentBiddableConversions() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* Projected number of biddable conversions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional double parent_biddable_conversions = 22;
* @return The parentBiddableConversions.
*/
@java.lang.Override
public double getParentBiddableConversions() {
return parentBiddableConversions_;
}
public static final int PARENT_BIDDABLE_CONVERSIONS_VALUE_FIELD_NUMBER = 23;
private double parentBiddableConversionsValue_;
/**
*
* Projected total value of biddable conversions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional double parent_biddable_conversions_value = 23;
* @return Whether the parentBiddableConversionsValue field is set.
*/
@java.lang.Override
public boolean hasParentBiddableConversionsValue() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* Projected total value of biddable conversions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional double parent_biddable_conversions_value = 23;
* @return The parentBiddableConversionsValue.
*/
@java.lang.Override
public double getParentBiddableConversionsValue() {
return parentBiddableConversionsValue_;
}
public static final int PARENT_CLICKS_FIELD_NUMBER = 24;
private long parentClicks_;
/**
*
* Projected number of clicks for the parent resource.
*
*
* optional int64 parent_clicks = 24;
* @return Whether the parentClicks field is set.
*/
@java.lang.Override
public boolean hasParentClicks() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Projected number of clicks for the parent resource.
*
*
* optional int64 parent_clicks = 24;
* @return The parentClicks.
*/
@java.lang.Override
public long getParentClicks() {
return parentClicks_;
}
public static final int PARENT_COST_MICROS_FIELD_NUMBER = 25;
private long parentCostMicros_;
/**
*
* Projected cost in micros for the parent resource.
*
*
* optional int64 parent_cost_micros = 25;
* @return Whether the parentCostMicros field is set.
*/
@java.lang.Override
public boolean hasParentCostMicros() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Projected cost in micros for the parent resource.
*
*
* optional int64 parent_cost_micros = 25;
* @return The parentCostMicros.
*/
@java.lang.Override
public long getParentCostMicros() {
return parentCostMicros_;
}
public static final int PARENT_IMPRESSIONS_FIELD_NUMBER = 26;
private long parentImpressions_;
/**
*
* Projected number of impressions for the parent resource.
*
*
* optional int64 parent_impressions = 26;
* @return Whether the parentImpressions field is set.
*/
@java.lang.Override
public boolean hasParentImpressions() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* Projected number of impressions for the parent resource.
*
*
* optional int64 parent_impressions = 26;
* @return The parentImpressions.
*/
@java.lang.Override
public long getParentImpressions() {
return parentImpressions_;
}
public static final int PARENT_TOP_SLOT_IMPRESSIONS_FIELD_NUMBER = 27;
private long parentTopSlotImpressions_;
/**
*
* Projected number of top slot impressions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional int64 parent_top_slot_impressions = 27;
* @return Whether the parentTopSlotImpressions field is set.
*/
@java.lang.Override
public boolean hasParentTopSlotImpressions() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* Projected number of top slot impressions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional int64 parent_top_slot_impressions = 27;
* @return The parentTopSlotImpressions.
*/
@java.lang.Override
public long getParentTopSlotImpressions() {
return parentTopSlotImpressions_;
}
public static final int PARENT_REQUIRED_BUDGET_MICROS_FIELD_NUMBER = 28;
private long parentRequiredBudgetMicros_;
/**
*
* Projected minimum daily budget that must be available to the parent
* resource to realize this simulation.
*
*
* optional int64 parent_required_budget_micros = 28;
* @return Whether the parentRequiredBudgetMicros field is set.
*/
@java.lang.Override
public boolean hasParentRequiredBudgetMicros() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
* Projected minimum daily budget that must be available to the parent
* resource to realize this simulation.
*
*
* optional int64 parent_required_budget_micros = 28;
* @return The parentRequiredBudgetMicros.
*/
@java.lang.Override
public long getParentRequiredBudgetMicros() {
return parentRequiredBudgetMicros_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeDouble(15, bidModifier_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeDouble(16, biddableConversions_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeDouble(17, biddableConversionsValue_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(18, clicks_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(19, costMicros_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(20, impressions_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(21, topSlotImpressions_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeDouble(22, parentBiddableConversions_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeDouble(23, parentBiddableConversionsValue_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt64(24, parentClicks_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeInt64(25, parentCostMicros_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeInt64(26, parentImpressions_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeInt64(27, parentTopSlotImpressions_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeInt64(28, parentRequiredBudgetMicros_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(15, bidModifier_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(16, biddableConversions_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(17, biddableConversionsValue_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(18, clicks_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(19, costMicros_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(20, impressions_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(21, topSlotImpressions_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(22, parentBiddableConversions_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(23, parentBiddableConversionsValue_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(24, parentClicks_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(25, parentCostMicros_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(26, parentImpressions_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(27, parentTopSlotImpressions_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(28, parentRequiredBudgetMicros_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.ads.googleads.v10.common.BidModifierSimulationPoint)) {
return super.equals(obj);
}
com.google.ads.googleads.v10.common.BidModifierSimulationPoint other = (com.google.ads.googleads.v10.common.BidModifierSimulationPoint) obj;
if (hasBidModifier() != other.hasBidModifier()) return false;
if (hasBidModifier()) {
if (java.lang.Double.doubleToLongBits(getBidModifier())
!= java.lang.Double.doubleToLongBits(
other.getBidModifier())) return false;
}
if (hasBiddableConversions() != other.hasBiddableConversions()) return false;
if (hasBiddableConversions()) {
if (java.lang.Double.doubleToLongBits(getBiddableConversions())
!= java.lang.Double.doubleToLongBits(
other.getBiddableConversions())) return false;
}
if (hasBiddableConversionsValue() != other.hasBiddableConversionsValue()) return false;
if (hasBiddableConversionsValue()) {
if (java.lang.Double.doubleToLongBits(getBiddableConversionsValue())
!= java.lang.Double.doubleToLongBits(
other.getBiddableConversionsValue())) return false;
}
if (hasClicks() != other.hasClicks()) return false;
if (hasClicks()) {
if (getClicks()
!= other.getClicks()) return false;
}
if (hasCostMicros() != other.hasCostMicros()) return false;
if (hasCostMicros()) {
if (getCostMicros()
!= other.getCostMicros()) return false;
}
if (hasImpressions() != other.hasImpressions()) return false;
if (hasImpressions()) {
if (getImpressions()
!= other.getImpressions()) return false;
}
if (hasTopSlotImpressions() != other.hasTopSlotImpressions()) return false;
if (hasTopSlotImpressions()) {
if (getTopSlotImpressions()
!= other.getTopSlotImpressions()) return false;
}
if (hasParentBiddableConversions() != other.hasParentBiddableConversions()) return false;
if (hasParentBiddableConversions()) {
if (java.lang.Double.doubleToLongBits(getParentBiddableConversions())
!= java.lang.Double.doubleToLongBits(
other.getParentBiddableConversions())) return false;
}
if (hasParentBiddableConversionsValue() != other.hasParentBiddableConversionsValue()) return false;
if (hasParentBiddableConversionsValue()) {
if (java.lang.Double.doubleToLongBits(getParentBiddableConversionsValue())
!= java.lang.Double.doubleToLongBits(
other.getParentBiddableConversionsValue())) return false;
}
if (hasParentClicks() != other.hasParentClicks()) return false;
if (hasParentClicks()) {
if (getParentClicks()
!= other.getParentClicks()) return false;
}
if (hasParentCostMicros() != other.hasParentCostMicros()) return false;
if (hasParentCostMicros()) {
if (getParentCostMicros()
!= other.getParentCostMicros()) return false;
}
if (hasParentImpressions() != other.hasParentImpressions()) return false;
if (hasParentImpressions()) {
if (getParentImpressions()
!= other.getParentImpressions()) return false;
}
if (hasParentTopSlotImpressions() != other.hasParentTopSlotImpressions()) return false;
if (hasParentTopSlotImpressions()) {
if (getParentTopSlotImpressions()
!= other.getParentTopSlotImpressions()) return false;
}
if (hasParentRequiredBudgetMicros() != other.hasParentRequiredBudgetMicros()) return false;
if (hasParentRequiredBudgetMicros()) {
if (getParentRequiredBudgetMicros()
!= other.getParentRequiredBudgetMicros()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasBidModifier()) {
hash = (37 * hash) + BID_MODIFIER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getBidModifier()));
}
if (hasBiddableConversions()) {
hash = (37 * hash) + BIDDABLE_CONVERSIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getBiddableConversions()));
}
if (hasBiddableConversionsValue()) {
hash = (37 * hash) + BIDDABLE_CONVERSIONS_VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getBiddableConversionsValue()));
}
if (hasClicks()) {
hash = (37 * hash) + CLICKS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getClicks());
}
if (hasCostMicros()) {
hash = (37 * hash) + COST_MICROS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCostMicros());
}
if (hasImpressions()) {
hash = (37 * hash) + IMPRESSIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getImpressions());
}
if (hasTopSlotImpressions()) {
hash = (37 * hash) + TOP_SLOT_IMPRESSIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTopSlotImpressions());
}
if (hasParentBiddableConversions()) {
hash = (37 * hash) + PARENT_BIDDABLE_CONVERSIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getParentBiddableConversions()));
}
if (hasParentBiddableConversionsValue()) {
hash = (37 * hash) + PARENT_BIDDABLE_CONVERSIONS_VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getParentBiddableConversionsValue()));
}
if (hasParentClicks()) {
hash = (37 * hash) + PARENT_CLICKS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getParentClicks());
}
if (hasParentCostMicros()) {
hash = (37 * hash) + PARENT_COST_MICROS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getParentCostMicros());
}
if (hasParentImpressions()) {
hash = (37 * hash) + PARENT_IMPRESSIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getParentImpressions());
}
if (hasParentTopSlotImpressions()) {
hash = (37 * hash) + PARENT_TOP_SLOT_IMPRESSIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getParentTopSlotImpressions());
}
if (hasParentRequiredBudgetMicros()) {
hash = (37 * hash) + PARENT_REQUIRED_BUDGET_MICROS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getParentRequiredBudgetMicros());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.ads.googleads.v10.common.BidModifierSimulationPoint prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Projected metrics for a specific bid modifier amount.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.BidModifierSimulationPoint}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.BidModifierSimulationPoint)
com.google.ads.googleads.v10.common.BidModifierSimulationPointOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v10.common.SimulationProto.internal_static_google_ads_googleads_v10_common_BidModifierSimulationPoint_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.SimulationProto.internal_static_google_ads_googleads_v10_common_BidModifierSimulationPoint_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.BidModifierSimulationPoint.class, com.google.ads.googleads.v10.common.BidModifierSimulationPoint.Builder.class);
}
// Construct using com.google.ads.googleads.v10.common.BidModifierSimulationPoint.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bidModifier_ = 0D;
bitField0_ = (bitField0_ & ~0x00000001);
biddableConversions_ = 0D;
bitField0_ = (bitField0_ & ~0x00000002);
biddableConversionsValue_ = 0D;
bitField0_ = (bitField0_ & ~0x00000004);
clicks_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
costMicros_ = 0L;
bitField0_ = (bitField0_ & ~0x00000010);
impressions_ = 0L;
bitField0_ = (bitField0_ & ~0x00000020);
topSlotImpressions_ = 0L;
bitField0_ = (bitField0_ & ~0x00000040);
parentBiddableConversions_ = 0D;
bitField0_ = (bitField0_ & ~0x00000080);
parentBiddableConversionsValue_ = 0D;
bitField0_ = (bitField0_ & ~0x00000100);
parentClicks_ = 0L;
bitField0_ = (bitField0_ & ~0x00000200);
parentCostMicros_ = 0L;
bitField0_ = (bitField0_ & ~0x00000400);
parentImpressions_ = 0L;
bitField0_ = (bitField0_ & ~0x00000800);
parentTopSlotImpressions_ = 0L;
bitField0_ = (bitField0_ & ~0x00001000);
parentRequiredBudgetMicros_ = 0L;
bitField0_ = (bitField0_ & ~0x00002000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v10.common.SimulationProto.internal_static_google_ads_googleads_v10_common_BidModifierSimulationPoint_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.BidModifierSimulationPoint getDefaultInstanceForType() {
return com.google.ads.googleads.v10.common.BidModifierSimulationPoint.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v10.common.BidModifierSimulationPoint build() {
com.google.ads.googleads.v10.common.BidModifierSimulationPoint result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.BidModifierSimulationPoint buildPartial() {
com.google.ads.googleads.v10.common.BidModifierSimulationPoint result = new com.google.ads.googleads.v10.common.BidModifierSimulationPoint(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.bidModifier_ = bidModifier_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.biddableConversions_ = biddableConversions_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.biddableConversionsValue_ = biddableConversionsValue_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.clicks_ = clicks_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.costMicros_ = costMicros_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.impressions_ = impressions_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.topSlotImpressions_ = topSlotImpressions_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.parentBiddableConversions_ = parentBiddableConversions_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.parentBiddableConversionsValue_ = parentBiddableConversionsValue_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.parentClicks_ = parentClicks_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.parentCostMicros_ = parentCostMicros_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.parentImpressions_ = parentImpressions_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.parentTopSlotImpressions_ = parentTopSlotImpressions_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.parentRequiredBudgetMicros_ = parentRequiredBudgetMicros_;
to_bitField0_ |= 0x00002000;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.ads.googleads.v10.common.BidModifierSimulationPoint) {
return mergeFrom((com.google.ads.googleads.v10.common.BidModifierSimulationPoint)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v10.common.BidModifierSimulationPoint other) {
if (other == com.google.ads.googleads.v10.common.BidModifierSimulationPoint.getDefaultInstance()) return this;
if (other.hasBidModifier()) {
setBidModifier(other.getBidModifier());
}
if (other.hasBiddableConversions()) {
setBiddableConversions(other.getBiddableConversions());
}
if (other.hasBiddableConversionsValue()) {
setBiddableConversionsValue(other.getBiddableConversionsValue());
}
if (other.hasClicks()) {
setClicks(other.getClicks());
}
if (other.hasCostMicros()) {
setCostMicros(other.getCostMicros());
}
if (other.hasImpressions()) {
setImpressions(other.getImpressions());
}
if (other.hasTopSlotImpressions()) {
setTopSlotImpressions(other.getTopSlotImpressions());
}
if (other.hasParentBiddableConversions()) {
setParentBiddableConversions(other.getParentBiddableConversions());
}
if (other.hasParentBiddableConversionsValue()) {
setParentBiddableConversionsValue(other.getParentBiddableConversionsValue());
}
if (other.hasParentClicks()) {
setParentClicks(other.getParentClicks());
}
if (other.hasParentCostMicros()) {
setParentCostMicros(other.getParentCostMicros());
}
if (other.hasParentImpressions()) {
setParentImpressions(other.getParentImpressions());
}
if (other.hasParentTopSlotImpressions()) {
setParentTopSlotImpressions(other.getParentTopSlotImpressions());
}
if (other.hasParentRequiredBudgetMicros()) {
setParentRequiredBudgetMicros(other.getParentRequiredBudgetMicros());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 121: {
bidModifier_ = input.readDouble();
bitField0_ |= 0x00000001;
break;
} // case 121
case 129: {
biddableConversions_ = input.readDouble();
bitField0_ |= 0x00000002;
break;
} // case 129
case 137: {
biddableConversionsValue_ = input.readDouble();
bitField0_ |= 0x00000004;
break;
} // case 137
case 144: {
clicks_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 144
case 152: {
costMicros_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 152
case 160: {
impressions_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 160
case 168: {
topSlotImpressions_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 168
case 177: {
parentBiddableConversions_ = input.readDouble();
bitField0_ |= 0x00000080;
break;
} // case 177
case 185: {
parentBiddableConversionsValue_ = input.readDouble();
bitField0_ |= 0x00000100;
break;
} // case 185
case 192: {
parentClicks_ = input.readInt64();
bitField0_ |= 0x00000200;
break;
} // case 192
case 200: {
parentCostMicros_ = input.readInt64();
bitField0_ |= 0x00000400;
break;
} // case 200
case 208: {
parentImpressions_ = input.readInt64();
bitField0_ |= 0x00000800;
break;
} // case 208
case 216: {
parentTopSlotImpressions_ = input.readInt64();
bitField0_ |= 0x00001000;
break;
} // case 216
case 224: {
parentRequiredBudgetMicros_ = input.readInt64();
bitField0_ |= 0x00002000;
break;
} // case 224
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private double bidModifier_ ;
/**
*
* The simulated bid modifier upon which projected metrics are based.
*
*
* optional double bid_modifier = 15;
* @return Whether the bidModifier field is set.
*/
@java.lang.Override
public boolean hasBidModifier() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The simulated bid modifier upon which projected metrics are based.
*
*
* optional double bid_modifier = 15;
* @return The bidModifier.
*/
@java.lang.Override
public double getBidModifier() {
return bidModifier_;
}
/**
*
* The simulated bid modifier upon which projected metrics are based.
*
*
* optional double bid_modifier = 15;
* @param value The bidModifier to set.
* @return This builder for chaining.
*/
public Builder setBidModifier(double value) {
bitField0_ |= 0x00000001;
bidModifier_ = value;
onChanged();
return this;
}
/**
*
* The simulated bid modifier upon which projected metrics are based.
*
*
* optional double bid_modifier = 15;
* @return This builder for chaining.
*/
public Builder clearBidModifier() {
bitField0_ = (bitField0_ & ~0x00000001);
bidModifier_ = 0D;
onChanged();
return this;
}
private double biddableConversions_ ;
/**
*
* Projected number of biddable conversions.
* Only search advertising channel type supports this field.
*
*
* optional double biddable_conversions = 16;
* @return Whether the biddableConversions field is set.
*/
@java.lang.Override
public boolean hasBiddableConversions() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Projected number of biddable conversions.
* Only search advertising channel type supports this field.
*
*
* optional double biddable_conversions = 16;
* @return The biddableConversions.
*/
@java.lang.Override
public double getBiddableConversions() {
return biddableConversions_;
}
/**
*
* Projected number of biddable conversions.
* Only search advertising channel type supports this field.
*
*
* optional double biddable_conversions = 16;
* @param value The biddableConversions to set.
* @return This builder for chaining.
*/
public Builder setBiddableConversions(double value) {
bitField0_ |= 0x00000002;
biddableConversions_ = value;
onChanged();
return this;
}
/**
*
* Projected number of biddable conversions.
* Only search advertising channel type supports this field.
*
*
* optional double biddable_conversions = 16;
* @return This builder for chaining.
*/
public Builder clearBiddableConversions() {
bitField0_ = (bitField0_ & ~0x00000002);
biddableConversions_ = 0D;
onChanged();
return this;
}
private double biddableConversionsValue_ ;
/**
*
* Projected total value of biddable conversions.
* Only search advertising channel type supports this field.
*
*
* optional double biddable_conversions_value = 17;
* @return Whether the biddableConversionsValue field is set.
*/
@java.lang.Override
public boolean hasBiddableConversionsValue() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Projected total value of biddable conversions.
* Only search advertising channel type supports this field.
*
*
* optional double biddable_conversions_value = 17;
* @return The biddableConversionsValue.
*/
@java.lang.Override
public double getBiddableConversionsValue() {
return biddableConversionsValue_;
}
/**
*
* Projected total value of biddable conversions.
* Only search advertising channel type supports this field.
*
*
* optional double biddable_conversions_value = 17;
* @param value The biddableConversionsValue to set.
* @return This builder for chaining.
*/
public Builder setBiddableConversionsValue(double value) {
bitField0_ |= 0x00000004;
biddableConversionsValue_ = value;
onChanged();
return this;
}
/**
*
* Projected total value of biddable conversions.
* Only search advertising channel type supports this field.
*
*
* optional double biddable_conversions_value = 17;
* @return This builder for chaining.
*/
public Builder clearBiddableConversionsValue() {
bitField0_ = (bitField0_ & ~0x00000004);
biddableConversionsValue_ = 0D;
onChanged();
return this;
}
private long clicks_ ;
/**
*
* Projected number of clicks.
*
*
* optional int64 clicks = 18;
* @return Whether the clicks field is set.
*/
@java.lang.Override
public boolean hasClicks() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Projected number of clicks.
*
*
* optional int64 clicks = 18;
* @return The clicks.
*/
@java.lang.Override
public long getClicks() {
return clicks_;
}
/**
*
* Projected number of clicks.
*
*
* optional int64 clicks = 18;
* @param value The clicks to set.
* @return This builder for chaining.
*/
public Builder setClicks(long value) {
bitField0_ |= 0x00000008;
clicks_ = value;
onChanged();
return this;
}
/**
*
* Projected number of clicks.
*
*
* optional int64 clicks = 18;
* @return This builder for chaining.
*/
public Builder clearClicks() {
bitField0_ = (bitField0_ & ~0x00000008);
clicks_ = 0L;
onChanged();
return this;
}
private long costMicros_ ;
/**
*
* Projected cost in micros.
*
*
* optional int64 cost_micros = 19;
* @return Whether the costMicros field is set.
*/
@java.lang.Override
public boolean hasCostMicros() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Projected cost in micros.
*
*
* optional int64 cost_micros = 19;
* @return The costMicros.
*/
@java.lang.Override
public long getCostMicros() {
return costMicros_;
}
/**
*
* Projected cost in micros.
*
*
* optional int64 cost_micros = 19;
* @param value The costMicros to set.
* @return This builder for chaining.
*/
public Builder setCostMicros(long value) {
bitField0_ |= 0x00000010;
costMicros_ = value;
onChanged();
return this;
}
/**
*
* Projected cost in micros.
*
*
* optional int64 cost_micros = 19;
* @return This builder for chaining.
*/
public Builder clearCostMicros() {
bitField0_ = (bitField0_ & ~0x00000010);
costMicros_ = 0L;
onChanged();
return this;
}
private long impressions_ ;
/**
*
* Projected number of impressions.
*
*
* optional int64 impressions = 20;
* @return Whether the impressions field is set.
*/
@java.lang.Override
public boolean hasImpressions() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Projected number of impressions.
*
*
* optional int64 impressions = 20;
* @return The impressions.
*/
@java.lang.Override
public long getImpressions() {
return impressions_;
}
/**
*
* Projected number of impressions.
*
*
* optional int64 impressions = 20;
* @param value The impressions to set.
* @return This builder for chaining.
*/
public Builder setImpressions(long value) {
bitField0_ |= 0x00000020;
impressions_ = value;
onChanged();
return this;
}
/**
*
* Projected number of impressions.
*
*
* optional int64 impressions = 20;
* @return This builder for chaining.
*/
public Builder clearImpressions() {
bitField0_ = (bitField0_ & ~0x00000020);
impressions_ = 0L;
onChanged();
return this;
}
private long topSlotImpressions_ ;
/**
*
* Projected number of top slot impressions.
* Only search advertising channel type supports this field.
*
*
* optional int64 top_slot_impressions = 21;
* @return Whether the topSlotImpressions field is set.
*/
@java.lang.Override
public boolean hasTopSlotImpressions() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Projected number of top slot impressions.
* Only search advertising channel type supports this field.
*
*
* optional int64 top_slot_impressions = 21;
* @return The topSlotImpressions.
*/
@java.lang.Override
public long getTopSlotImpressions() {
return topSlotImpressions_;
}
/**
*
* Projected number of top slot impressions.
* Only search advertising channel type supports this field.
*
*
* optional int64 top_slot_impressions = 21;
* @param value The topSlotImpressions to set.
* @return This builder for chaining.
*/
public Builder setTopSlotImpressions(long value) {
bitField0_ |= 0x00000040;
topSlotImpressions_ = value;
onChanged();
return this;
}
/**
*
* Projected number of top slot impressions.
* Only search advertising channel type supports this field.
*
*
* optional int64 top_slot_impressions = 21;
* @return This builder for chaining.
*/
public Builder clearTopSlotImpressions() {
bitField0_ = (bitField0_ & ~0x00000040);
topSlotImpressions_ = 0L;
onChanged();
return this;
}
private double parentBiddableConversions_ ;
/**
*
* Projected number of biddable conversions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional double parent_biddable_conversions = 22;
* @return Whether the parentBiddableConversions field is set.
*/
@java.lang.Override
public boolean hasParentBiddableConversions() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* Projected number of biddable conversions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional double parent_biddable_conversions = 22;
* @return The parentBiddableConversions.
*/
@java.lang.Override
public double getParentBiddableConversions() {
return parentBiddableConversions_;
}
/**
*
* Projected number of biddable conversions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional double parent_biddable_conversions = 22;
* @param value The parentBiddableConversions to set.
* @return This builder for chaining.
*/
public Builder setParentBiddableConversions(double value) {
bitField0_ |= 0x00000080;
parentBiddableConversions_ = value;
onChanged();
return this;
}
/**
*
* Projected number of biddable conversions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional double parent_biddable_conversions = 22;
* @return This builder for chaining.
*/
public Builder clearParentBiddableConversions() {
bitField0_ = (bitField0_ & ~0x00000080);
parentBiddableConversions_ = 0D;
onChanged();
return this;
}
private double parentBiddableConversionsValue_ ;
/**
*
* Projected total value of biddable conversions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional double parent_biddable_conversions_value = 23;
* @return Whether the parentBiddableConversionsValue field is set.
*/
@java.lang.Override
public boolean hasParentBiddableConversionsValue() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* Projected total value of biddable conversions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional double parent_biddable_conversions_value = 23;
* @return The parentBiddableConversionsValue.
*/
@java.lang.Override
public double getParentBiddableConversionsValue() {
return parentBiddableConversionsValue_;
}
/**
*
* Projected total value of biddable conversions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional double parent_biddable_conversions_value = 23;
* @param value The parentBiddableConversionsValue to set.
* @return This builder for chaining.
*/
public Builder setParentBiddableConversionsValue(double value) {
bitField0_ |= 0x00000100;
parentBiddableConversionsValue_ = value;
onChanged();
return this;
}
/**
*
* Projected total value of biddable conversions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional double parent_biddable_conversions_value = 23;
* @return This builder for chaining.
*/
public Builder clearParentBiddableConversionsValue() {
bitField0_ = (bitField0_ & ~0x00000100);
parentBiddableConversionsValue_ = 0D;
onChanged();
return this;
}
private long parentClicks_ ;
/**
*
* Projected number of clicks for the parent resource.
*
*
* optional int64 parent_clicks = 24;
* @return Whether the parentClicks field is set.
*/
@java.lang.Override
public boolean hasParentClicks() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Projected number of clicks for the parent resource.
*
*
* optional int64 parent_clicks = 24;
* @return The parentClicks.
*/
@java.lang.Override
public long getParentClicks() {
return parentClicks_;
}
/**
*
* Projected number of clicks for the parent resource.
*
*
* optional int64 parent_clicks = 24;
* @param value The parentClicks to set.
* @return This builder for chaining.
*/
public Builder setParentClicks(long value) {
bitField0_ |= 0x00000200;
parentClicks_ = value;
onChanged();
return this;
}
/**
*
* Projected number of clicks for the parent resource.
*
*
* optional int64 parent_clicks = 24;
* @return This builder for chaining.
*/
public Builder clearParentClicks() {
bitField0_ = (bitField0_ & ~0x00000200);
parentClicks_ = 0L;
onChanged();
return this;
}
private long parentCostMicros_ ;
/**
*
* Projected cost in micros for the parent resource.
*
*
* optional int64 parent_cost_micros = 25;
* @return Whether the parentCostMicros field is set.
*/
@java.lang.Override
public boolean hasParentCostMicros() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Projected cost in micros for the parent resource.
*
*
* optional int64 parent_cost_micros = 25;
* @return The parentCostMicros.
*/
@java.lang.Override
public long getParentCostMicros() {
return parentCostMicros_;
}
/**
*
* Projected cost in micros for the parent resource.
*
*
* optional int64 parent_cost_micros = 25;
* @param value The parentCostMicros to set.
* @return This builder for chaining.
*/
public Builder setParentCostMicros(long value) {
bitField0_ |= 0x00000400;
parentCostMicros_ = value;
onChanged();
return this;
}
/**
*
* Projected cost in micros for the parent resource.
*
*
* optional int64 parent_cost_micros = 25;
* @return This builder for chaining.
*/
public Builder clearParentCostMicros() {
bitField0_ = (bitField0_ & ~0x00000400);
parentCostMicros_ = 0L;
onChanged();
return this;
}
private long parentImpressions_ ;
/**
*
* Projected number of impressions for the parent resource.
*
*
* optional int64 parent_impressions = 26;
* @return Whether the parentImpressions field is set.
*/
@java.lang.Override
public boolean hasParentImpressions() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* Projected number of impressions for the parent resource.
*
*
* optional int64 parent_impressions = 26;
* @return The parentImpressions.
*/
@java.lang.Override
public long getParentImpressions() {
return parentImpressions_;
}
/**
*
* Projected number of impressions for the parent resource.
*
*
* optional int64 parent_impressions = 26;
* @param value The parentImpressions to set.
* @return This builder for chaining.
*/
public Builder setParentImpressions(long value) {
bitField0_ |= 0x00000800;
parentImpressions_ = value;
onChanged();
return this;
}
/**
*
* Projected number of impressions for the parent resource.
*
*
* optional int64 parent_impressions = 26;
* @return This builder for chaining.
*/
public Builder clearParentImpressions() {
bitField0_ = (bitField0_ & ~0x00000800);
parentImpressions_ = 0L;
onChanged();
return this;
}
private long parentTopSlotImpressions_ ;
/**
*
* Projected number of top slot impressions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional int64 parent_top_slot_impressions = 27;
* @return Whether the parentTopSlotImpressions field is set.
*/
@java.lang.Override
public boolean hasParentTopSlotImpressions() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* Projected number of top slot impressions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional int64 parent_top_slot_impressions = 27;
* @return The parentTopSlotImpressions.
*/
@java.lang.Override
public long getParentTopSlotImpressions() {
return parentTopSlotImpressions_;
}
/**
*
* Projected number of top slot impressions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional int64 parent_top_slot_impressions = 27;
* @param value The parentTopSlotImpressions to set.
* @return This builder for chaining.
*/
public Builder setParentTopSlotImpressions(long value) {
bitField0_ |= 0x00001000;
parentTopSlotImpressions_ = value;
onChanged();
return this;
}
/**
*
* Projected number of top slot impressions for the parent resource.
* Only search advertising channel type supports this field.
*
*
* optional int64 parent_top_slot_impressions = 27;
* @return This builder for chaining.
*/
public Builder clearParentTopSlotImpressions() {
bitField0_ = (bitField0_ & ~0x00001000);
parentTopSlotImpressions_ = 0L;
onChanged();
return this;
}
private long parentRequiredBudgetMicros_ ;
/**
*
* Projected minimum daily budget that must be available to the parent
* resource to realize this simulation.
*
*
* optional int64 parent_required_budget_micros = 28;
* @return Whether the parentRequiredBudgetMicros field is set.
*/
@java.lang.Override
public boolean hasParentRequiredBudgetMicros() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
* Projected minimum daily budget that must be available to the parent
* resource to realize this simulation.
*
*
* optional int64 parent_required_budget_micros = 28;
* @return The parentRequiredBudgetMicros.
*/
@java.lang.Override
public long getParentRequiredBudgetMicros() {
return parentRequiredBudgetMicros_;
}
/**
*
* Projected minimum daily budget that must be available to the parent
* resource to realize this simulation.
*
*
* optional int64 parent_required_budget_micros = 28;
* @param value The parentRequiredBudgetMicros to set.
* @return This builder for chaining.
*/
public Builder setParentRequiredBudgetMicros(long value) {
bitField0_ |= 0x00002000;
parentRequiredBudgetMicros_ = value;
onChanged();
return this;
}
/**
*
* Projected minimum daily budget that must be available to the parent
* resource to realize this simulation.
*
*
* optional int64 parent_required_budget_micros = 28;
* @return This builder for chaining.
*/
public Builder clearParentRequiredBudgetMicros() {
bitField0_ = (bitField0_ & ~0x00002000);
parentRequiredBudgetMicros_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.ads.googleads.v10.common.BidModifierSimulationPoint)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.BidModifierSimulationPoint)
private static final com.google.ads.googleads.v10.common.BidModifierSimulationPoint DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.BidModifierSimulationPoint();
}
public static com.google.ads.googleads.v10.common.BidModifierSimulationPoint getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BidModifierSimulationPoint parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.BidModifierSimulationPoint getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy