com.google.ads.googleads.v17.errors.BiddingErrorEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v17 Show documentation
Show all versions of google-ads-stubs-v17 Show documentation
Stubs for GAAPI version google-ads-stubs-v17
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v17/errors/bidding_error.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.errors;
/**
*
* Container for enum describing possible bidding errors.
*
*
* Protobuf type {@code google.ads.googleads.v17.errors.BiddingErrorEnum}
*/
public final class BiddingErrorEnum extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.errors.BiddingErrorEnum)
BiddingErrorEnumOrBuilder {
private static final long serialVersionUID = 0L;
// Use BiddingErrorEnum.newBuilder() to construct.
private BiddingErrorEnum(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BiddingErrorEnum() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BiddingErrorEnum();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.errors.BiddingErrorProto.internal_static_google_ads_googleads_v17_errors_BiddingErrorEnum_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.errors.BiddingErrorProto.internal_static_google_ads_googleads_v17_errors_BiddingErrorEnum_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.errors.BiddingErrorEnum.class, com.google.ads.googleads.v17.errors.BiddingErrorEnum.Builder.class);
}
/**
*
* Enum describing possible bidding errors.
*
*
* Protobuf enum {@code google.ads.googleads.v17.errors.BiddingErrorEnum.BiddingError}
*/
public enum BiddingError
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Enum unspecified.
*
*
* UNSPECIFIED = 0;
*/
UNSPECIFIED(0),
/**
*
* The received error code is not known in this version.
*
*
* UNKNOWN = 1;
*/
UNKNOWN(1),
/**
*
* Cannot transition to new bidding strategy.
*
*
* BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 2;
*/
BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED(2),
/**
*
* Cannot attach bidding strategy to campaign.
*
*
* CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 7;
*/
CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN(7),
/**
*
* Bidding strategy is not supported or cannot be used as anonymous.
*
*
* INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 10;
*/
INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE(10),
/**
*
* The type does not match the named strategy's type.
*
*
* INVALID_BIDDING_STRATEGY_TYPE = 14;
*/
INVALID_BIDDING_STRATEGY_TYPE(14),
/**
*
* The bid is invalid.
*
*
* INVALID_BID = 17;
*/
INVALID_BID(17),
/**
*
* Bidding strategy is not available for the account type.
*
*
* BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 18;
*/
BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE(18),
/**
*
* Campaign can not be created with given bidding strategy. It can be
* transitioned to the strategy, once eligible.
*
*
* CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY = 21;
*/
CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY(21),
/**
*
* Cannot target content network only as campaign uses Page One Promoted
* bidding strategy.
*
*
* CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY = 23;
*/
CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY(23),
/**
*
* Budget Optimizer and Target Spend bidding strategies are not supported
* for campaigns with AdSchedule targeting.
*
*
* BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE = 24;
*/
BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE(24),
/**
*
* Pay per conversion is not available to all the customer, only few
* customers on the allow-list can use this.
*
*
* PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = 25;
*/
PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER(25),
/**
*
* Pay per conversion is not allowed with Target CPA.
*
*
* PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 26;
*/
PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA(26),
/**
*
* Cannot set bidding strategy to Manual CPM for search network only
* campaigns.
*
*
* BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 27;
*/
BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS(27),
/**
*
* The bidding strategy is not supported for use in drafts or experiments.
*
*
* BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 28;
*/
BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS(28),
/**
*
* Bidding strategy type does not support product type ad group criterion.
*
*
* BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 29;
*/
BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION(29),
/**
*
* Bid amount is too small.
*
*
* BID_TOO_SMALL = 30;
*/
BID_TOO_SMALL(30),
/**
*
* Bid amount is too big.
*
*
* BID_TOO_BIG = 31;
*/
BID_TOO_BIG(31),
/**
*
* Bid has too many fractional digit precision.
*
*
* BID_TOO_MANY_FRACTIONAL_DIGITS = 32;
*/
BID_TOO_MANY_FRACTIONAL_DIGITS(32),
/**
*
* Invalid domain name specified.
*
*
* INVALID_DOMAIN_NAME = 33;
*/
INVALID_DOMAIN_NAME(33),
/**
*
* The field is not compatible with the payment mode.
*
*
* NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34;
*/
NOT_COMPATIBLE_WITH_PAYMENT_MODE(34),
/**
*
* Bidding strategy type is incompatible with shared budget.
*
*
* BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET = 37;
*/
BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET(37),
/**
*
* The attached bidding strategy and budget must be aligned with each other
* if alignment is specified on either entity.
*
*
* BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED = 38;
*/
BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED(38),
/**
*
* The attached bidding strategy and budget must be attached to the same
* campaigns to become aligned.
*
*
* BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN = 39;
*/
BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN(39),
/**
*
* The aligned bidding strategy and budget must be removed at the same time.
*
*
* BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40;
*/
BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER(40),
/**
*
* cpc_bid_floor_micros is greater than cpc_bid_ceiling_micros.
*
*
* CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS = 41;
*/
CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS(41),
UNRECOGNIZED(-1),
;
/**
*
* Enum unspecified.
*
*
* UNSPECIFIED = 0;
*/
public static final int UNSPECIFIED_VALUE = 0;
/**
*
* The received error code is not known in this version.
*
*
* UNKNOWN = 1;
*/
public static final int UNKNOWN_VALUE = 1;
/**
*
* Cannot transition to new bidding strategy.
*
*
* BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 2;
*/
public static final int BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED_VALUE = 2;
/**
*
* Cannot attach bidding strategy to campaign.
*
*
* CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 7;
*/
public static final int CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN_VALUE = 7;
/**
*
* Bidding strategy is not supported or cannot be used as anonymous.
*
*
* INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 10;
*/
public static final int INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE_VALUE = 10;
/**
*
* The type does not match the named strategy's type.
*
*
* INVALID_BIDDING_STRATEGY_TYPE = 14;
*/
public static final int INVALID_BIDDING_STRATEGY_TYPE_VALUE = 14;
/**
*
* The bid is invalid.
*
*
* INVALID_BID = 17;
*/
public static final int INVALID_BID_VALUE = 17;
/**
*
* Bidding strategy is not available for the account type.
*
*
* BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 18;
*/
public static final int BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE_VALUE = 18;
/**
*
* Campaign can not be created with given bidding strategy. It can be
* transitioned to the strategy, once eligible.
*
*
* CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY = 21;
*/
public static final int CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY_VALUE = 21;
/**
*
* Cannot target content network only as campaign uses Page One Promoted
* bidding strategy.
*
*
* CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY = 23;
*/
public static final int CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY_VALUE = 23;
/**
*
* Budget Optimizer and Target Spend bidding strategies are not supported
* for campaigns with AdSchedule targeting.
*
*
* BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE = 24;
*/
public static final int BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE_VALUE = 24;
/**
*
* Pay per conversion is not available to all the customer, only few
* customers on the allow-list can use this.
*
*
* PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = 25;
*/
public static final int PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER_VALUE = 25;
/**
*
* Pay per conversion is not allowed with Target CPA.
*
*
* PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 26;
*/
public static final int PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA_VALUE = 26;
/**
*
* Cannot set bidding strategy to Manual CPM for search network only
* campaigns.
*
*
* BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 27;
*/
public static final int BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS_VALUE = 27;
/**
*
* The bidding strategy is not supported for use in drafts or experiments.
*
*
* BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 28;
*/
public static final int BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS_VALUE = 28;
/**
*
* Bidding strategy type does not support product type ad group criterion.
*
*
* BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 29;
*/
public static final int BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION_VALUE = 29;
/**
*
* Bid amount is too small.
*
*
* BID_TOO_SMALL = 30;
*/
public static final int BID_TOO_SMALL_VALUE = 30;
/**
*
* Bid amount is too big.
*
*
* BID_TOO_BIG = 31;
*/
public static final int BID_TOO_BIG_VALUE = 31;
/**
*
* Bid has too many fractional digit precision.
*
*
* BID_TOO_MANY_FRACTIONAL_DIGITS = 32;
*/
public static final int BID_TOO_MANY_FRACTIONAL_DIGITS_VALUE = 32;
/**
*
* Invalid domain name specified.
*
*
* INVALID_DOMAIN_NAME = 33;
*/
public static final int INVALID_DOMAIN_NAME_VALUE = 33;
/**
*
* The field is not compatible with the payment mode.
*
*
* NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34;
*/
public static final int NOT_COMPATIBLE_WITH_PAYMENT_MODE_VALUE = 34;
/**
*
* Bidding strategy type is incompatible with shared budget.
*
*
* BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET = 37;
*/
public static final int BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET_VALUE = 37;
/**
*
* The attached bidding strategy and budget must be aligned with each other
* if alignment is specified on either entity.
*
*
* BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED = 38;
*/
public static final int BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED_VALUE = 38;
/**
*
* The attached bidding strategy and budget must be attached to the same
* campaigns to become aligned.
*
*
* BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN = 39;
*/
public static final int BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN_VALUE = 39;
/**
*
* The aligned bidding strategy and budget must be removed at the same time.
*
*
* BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40;
*/
public static final int BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER_VALUE = 40;
/**
*
* cpc_bid_floor_micros is greater than cpc_bid_ceiling_micros.
*
*
* CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS = 41;
*/
public static final int CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS_VALUE = 41;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static BiddingError valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static BiddingError forNumber(int value) {
switch (value) {
case 0: return UNSPECIFIED;
case 1: return UNKNOWN;
case 2: return BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED;
case 7: return CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN;
case 10: return INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE;
case 14: return INVALID_BIDDING_STRATEGY_TYPE;
case 17: return INVALID_BID;
case 18: return BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE;
case 21: return CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY;
case 23: return CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY;
case 24: return BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE;
case 25: return PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER;
case 26: return PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA;
case 27: return BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS;
case 28: return BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS;
case 29: return BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION;
case 30: return BID_TOO_SMALL;
case 31: return BID_TOO_BIG;
case 32: return BID_TOO_MANY_FRACTIONAL_DIGITS;
case 33: return INVALID_DOMAIN_NAME;
case 34: return NOT_COMPATIBLE_WITH_PAYMENT_MODE;
case 37: return BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET;
case 38: return BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED;
case 39: return BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN;
case 40: return BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER;
case 41: return CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
BiddingError> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public BiddingError findValueByNumber(int number) {
return BiddingError.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.google.ads.googleads.v17.errors.BiddingErrorEnum.getDescriptor().getEnumTypes().get(0);
}
private static final BiddingError[] VALUES = values();
public static BiddingError valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private BiddingError(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.ads.googleads.v17.errors.BiddingErrorEnum.BiddingError)
}
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 {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.v17.errors.BiddingErrorEnum)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.errors.BiddingErrorEnum other = (com.google.ads.googleads.v17.errors.BiddingErrorEnum) obj;
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();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v17.errors.BiddingErrorEnum parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.errors.BiddingErrorEnum 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.v17.errors.BiddingErrorEnum parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.errors.BiddingErrorEnum 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.v17.errors.BiddingErrorEnum parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.errors.BiddingErrorEnum parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v17.errors.BiddingErrorEnum parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.errors.BiddingErrorEnum 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.v17.errors.BiddingErrorEnum parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.errors.BiddingErrorEnum 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.v17.errors.BiddingErrorEnum parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.errors.BiddingErrorEnum 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.v17.errors.BiddingErrorEnum 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;
}
/**
*
* Container for enum describing possible bidding errors.
*
*
* Protobuf type {@code google.ads.googleads.v17.errors.BiddingErrorEnum}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.errors.BiddingErrorEnum)
com.google.ads.googleads.v17.errors.BiddingErrorEnumOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.errors.BiddingErrorProto.internal_static_google_ads_googleads_v17_errors_BiddingErrorEnum_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.errors.BiddingErrorProto.internal_static_google_ads_googleads_v17_errors_BiddingErrorEnum_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.errors.BiddingErrorEnum.class, com.google.ads.googleads.v17.errors.BiddingErrorEnum.Builder.class);
}
// Construct using com.google.ads.googleads.v17.errors.BiddingErrorEnum.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v17.errors.BiddingErrorProto.internal_static_google_ads_googleads_v17_errors_BiddingErrorEnum_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.errors.BiddingErrorEnum getDefaultInstanceForType() {
return com.google.ads.googleads.v17.errors.BiddingErrorEnum.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.errors.BiddingErrorEnum build() {
com.google.ads.googleads.v17.errors.BiddingErrorEnum result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.errors.BiddingErrorEnum buildPartial() {
com.google.ads.googleads.v17.errors.BiddingErrorEnum result = new com.google.ads.googleads.v17.errors.BiddingErrorEnum(this);
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.v17.errors.BiddingErrorEnum) {
return mergeFrom((com.google.ads.googleads.v17.errors.BiddingErrorEnum)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.errors.BiddingErrorEnum other) {
if (other == com.google.ads.googleads.v17.errors.BiddingErrorEnum.getDefaultInstance()) return this;
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;
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;
}
@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.v17.errors.BiddingErrorEnum)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.errors.BiddingErrorEnum)
private static final com.google.ads.googleads.v17.errors.BiddingErrorEnum DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.errors.BiddingErrorEnum();
}
public static com.google.ads.googleads.v17.errors.BiddingErrorEnum getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BiddingErrorEnum 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.v17.errors.BiddingErrorEnum getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy