All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v17/enums/campaign_primary_status_reason.proto

// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.enums;

/**
 * 
 * Container for enum describing possible campaign primary status reasons.
 * 
* * Protobuf type {@code google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum} */ public final class CampaignPrimaryStatusReasonEnum extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum) CampaignPrimaryStatusReasonEnumOrBuilder { private static final long serialVersionUID = 0L; // Use CampaignPrimaryStatusReasonEnum.newBuilder() to construct. private CampaignPrimaryStatusReasonEnum(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CampaignPrimaryStatusReasonEnum() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CampaignPrimaryStatusReasonEnum(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonProto.internal_static_google_ads_googleads_v17_enums_CampaignPrimaryStatusReasonEnum_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonProto.internal_static_google_ads_googleads_v17_enums_CampaignPrimaryStatusReasonEnum_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum.class, com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum.Builder.class); } /** *
   * Enum describing the possible campaign primary status reasons.  Provides
   * insight into why a campaign is not serving or not serving optimally. These
   * reasons are aggregated to determine an overall campaign primary status.
   * 
* * Protobuf enum {@code google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason} */ public enum CampaignPrimaryStatusReason implements com.google.protobuf.ProtocolMessageEnum { /** *
     * Not specified.
     * 
* * UNSPECIFIED = 0; */ UNSPECIFIED(0), /** *
     * Used for return value only. Represents value unknown in this version.
     * 
* * UNKNOWN = 1; */ UNKNOWN(1), /** *
     * The user-specified campaign status is removed.
     * 
* * CAMPAIGN_REMOVED = 2; */ CAMPAIGN_REMOVED(2), /** *
     * The user-specified campaign status is paused.
     * 
* * CAMPAIGN_PAUSED = 3; */ CAMPAIGN_PAUSED(3), /** *
     * The user-specified time for this campaign to start is in the future.
     * 
* * CAMPAIGN_PENDING = 4; */ CAMPAIGN_PENDING(4), /** *
     * The user-specified time for this campaign to end has passed.
     * 
* * CAMPAIGN_ENDED = 5; */ CAMPAIGN_ENDED(5), /** *
     * The campaign is a draft.
     * 
* * CAMPAIGN_DRAFT = 6; */ CAMPAIGN_DRAFT(6), /** *
     * The bidding strategy has incorrect user-specified settings.
     * 
* * BIDDING_STRATEGY_MISCONFIGURED = 7; */ BIDDING_STRATEGY_MISCONFIGURED(7), /** *
     * The bidding strategy is limited by user-specified settings such as lack
     * of data or similar.
     * 
* * BIDDING_STRATEGY_LIMITED = 8; */ BIDDING_STRATEGY_LIMITED(8), /** *
     * The automated bidding system is adjusting to user-specified changes to
     * the bidding strategy.
     * 
* * BIDDING_STRATEGY_LEARNING = 9; */ BIDDING_STRATEGY_LEARNING(9), /** *
     * Campaign could capture more conversion value by adjusting CPA/ROAS
     * targets.
     * 
* * BIDDING_STRATEGY_CONSTRAINED = 10; */ BIDDING_STRATEGY_CONSTRAINED(10), /** *
     * The budget is limiting the campaign's ability to serve.
     * 
* * BUDGET_CONSTRAINED = 11; */ BUDGET_CONSTRAINED(11), /** *
     * The budget has incorrect user-specified settings.
     * 
* * BUDGET_MISCONFIGURED = 12; */ BUDGET_MISCONFIGURED(12), /** *
     * Campaign is not targeting all relevant queries.
     * 
* * SEARCH_VOLUME_LIMITED = 13; */ SEARCH_VOLUME_LIMITED(13), /** *
     * The user-specified ad group statuses are all paused.
     * 
* * AD_GROUPS_PAUSED = 14; */ AD_GROUPS_PAUSED(14), /** *
     * No eligible ad groups exist in this campaign.
     * 
* * NO_AD_GROUPS = 15; */ NO_AD_GROUPS(15), /** *
     * The user-specified keyword statuses are all paused.
     * 
* * KEYWORDS_PAUSED = 16; */ KEYWORDS_PAUSED(16), /** *
     * No eligible keywords exist in this campaign.
     * 
* * NO_KEYWORDS = 17; */ NO_KEYWORDS(17), /** *
     * The user-specified ad group ad statuses are all paused.
     * 
* * AD_GROUP_ADS_PAUSED = 18; */ AD_GROUP_ADS_PAUSED(18), /** *
     * No eligible ad group ads exist in this campaign.
     * 
* * NO_AD_GROUP_ADS = 19; */ NO_AD_GROUP_ADS(19), /** *
     * At least one ad in this campaign is limited by policy.
     * 
* * HAS_ADS_LIMITED_BY_POLICY = 20; */ HAS_ADS_LIMITED_BY_POLICY(20), /** *
     * At least one ad in this campaign is disapproved.
     * 
* * HAS_ADS_DISAPPROVED = 21; */ HAS_ADS_DISAPPROVED(21), /** *
     * Most ads in this campaign are pending review.
     * 
* * MOST_ADS_UNDER_REVIEW = 22; */ MOST_ADS_UNDER_REVIEW(22), /** *
     * The campaign has a lead form goal, and the lead form extension is
     * missing.
     * 
* * MISSING_LEAD_FORM_EXTENSION = 23; */ MISSING_LEAD_FORM_EXTENSION(23), /** *
     * The campaign has a call goal, and the call extension is missing.
     * 
* * MISSING_CALL_EXTENSION = 24; */ MISSING_CALL_EXTENSION(24), /** *
     * The lead form extension is under review.
     * 
* * LEAD_FORM_EXTENSION_UNDER_REVIEW = 25; */ LEAD_FORM_EXTENSION_UNDER_REVIEW(25), /** *
     * The lead extension is disapproved.
     * 
* * LEAD_FORM_EXTENSION_DISAPPROVED = 26; */ LEAD_FORM_EXTENSION_DISAPPROVED(26), /** *
     * The call extension is under review.
     * 
* * CALL_EXTENSION_UNDER_REVIEW = 27; */ CALL_EXTENSION_UNDER_REVIEW(27), /** *
     * The call extension is disapproved.
     * 
* * CALL_EXTENSION_DISAPPROVED = 28; */ CALL_EXTENSION_DISAPPROVED(28), /** *
     * No eligible mobile application ad group criteria exist in this campaign.
     * 
* * NO_MOBILE_APPLICATION_AD_GROUP_CRITERIA = 29; */ NO_MOBILE_APPLICATION_AD_GROUP_CRITERIA(29), /** *
     * The user-specified campaign group status is paused.
     * 
* * CAMPAIGN_GROUP_PAUSED = 30; */ CAMPAIGN_GROUP_PAUSED(30), /** *
     * The user-specified times of all group budgets associated with the parent
     * campaign group has passed.
     * 
* * CAMPAIGN_GROUP_ALL_GROUP_BUDGETS_ENDED = 31; */ CAMPAIGN_GROUP_ALL_GROUP_BUDGETS_ENDED(31), /** *
     * The app associated with this ACi campaign is not released in the target
     * countries of the campaign.
     * 
* * APP_NOT_RELEASED = 32; */ APP_NOT_RELEASED(32), /** *
     * The app associated with this ACi campaign is partially released in the
     * target countries of the campaign.
     * 
* * APP_PARTIALLY_RELEASED = 33; */ APP_PARTIALLY_RELEASED(33), /** *
     * At least one asset group in this campaign is disapproved.
     * 
* * HAS_ASSET_GROUPS_DISAPPROVED = 34; */ HAS_ASSET_GROUPS_DISAPPROVED(34), /** *
     * At least one asset group in this campaign is limited by policy.
     * 
* * HAS_ASSET_GROUPS_LIMITED_BY_POLICY = 35; */ HAS_ASSET_GROUPS_LIMITED_BY_POLICY(35), /** *
     * Most asset groups in this campaign are pending review.
     * 
* * MOST_ASSET_GROUPS_UNDER_REVIEW = 36; */ MOST_ASSET_GROUPS_UNDER_REVIEW(36), /** *
     * No eligible asset groups exist in this campaign.
     * 
* * NO_ASSET_GROUPS = 37; */ NO_ASSET_GROUPS(37), /** *
     * All asset groups in this campaign are paused.
     * 
* * ASSET_GROUPS_PAUSED = 38; */ ASSET_GROUPS_PAUSED(38), UNRECOGNIZED(-1), ; /** *
     * Not specified.
     * 
* * UNSPECIFIED = 0; */ public static final int UNSPECIFIED_VALUE = 0; /** *
     * Used for return value only. Represents value unknown in this version.
     * 
* * UNKNOWN = 1; */ public static final int UNKNOWN_VALUE = 1; /** *
     * The user-specified campaign status is removed.
     * 
* * CAMPAIGN_REMOVED = 2; */ public static final int CAMPAIGN_REMOVED_VALUE = 2; /** *
     * The user-specified campaign status is paused.
     * 
* * CAMPAIGN_PAUSED = 3; */ public static final int CAMPAIGN_PAUSED_VALUE = 3; /** *
     * The user-specified time for this campaign to start is in the future.
     * 
* * CAMPAIGN_PENDING = 4; */ public static final int CAMPAIGN_PENDING_VALUE = 4; /** *
     * The user-specified time for this campaign to end has passed.
     * 
* * CAMPAIGN_ENDED = 5; */ public static final int CAMPAIGN_ENDED_VALUE = 5; /** *
     * The campaign is a draft.
     * 
* * CAMPAIGN_DRAFT = 6; */ public static final int CAMPAIGN_DRAFT_VALUE = 6; /** *
     * The bidding strategy has incorrect user-specified settings.
     * 
* * BIDDING_STRATEGY_MISCONFIGURED = 7; */ public static final int BIDDING_STRATEGY_MISCONFIGURED_VALUE = 7; /** *
     * The bidding strategy is limited by user-specified settings such as lack
     * of data or similar.
     * 
* * BIDDING_STRATEGY_LIMITED = 8; */ public static final int BIDDING_STRATEGY_LIMITED_VALUE = 8; /** *
     * The automated bidding system is adjusting to user-specified changes to
     * the bidding strategy.
     * 
* * BIDDING_STRATEGY_LEARNING = 9; */ public static final int BIDDING_STRATEGY_LEARNING_VALUE = 9; /** *
     * Campaign could capture more conversion value by adjusting CPA/ROAS
     * targets.
     * 
* * BIDDING_STRATEGY_CONSTRAINED = 10; */ public static final int BIDDING_STRATEGY_CONSTRAINED_VALUE = 10; /** *
     * The budget is limiting the campaign's ability to serve.
     * 
* * BUDGET_CONSTRAINED = 11; */ public static final int BUDGET_CONSTRAINED_VALUE = 11; /** *
     * The budget has incorrect user-specified settings.
     * 
* * BUDGET_MISCONFIGURED = 12; */ public static final int BUDGET_MISCONFIGURED_VALUE = 12; /** *
     * Campaign is not targeting all relevant queries.
     * 
* * SEARCH_VOLUME_LIMITED = 13; */ public static final int SEARCH_VOLUME_LIMITED_VALUE = 13; /** *
     * The user-specified ad group statuses are all paused.
     * 
* * AD_GROUPS_PAUSED = 14; */ public static final int AD_GROUPS_PAUSED_VALUE = 14; /** *
     * No eligible ad groups exist in this campaign.
     * 
* * NO_AD_GROUPS = 15; */ public static final int NO_AD_GROUPS_VALUE = 15; /** *
     * The user-specified keyword statuses are all paused.
     * 
* * KEYWORDS_PAUSED = 16; */ public static final int KEYWORDS_PAUSED_VALUE = 16; /** *
     * No eligible keywords exist in this campaign.
     * 
* * NO_KEYWORDS = 17; */ public static final int NO_KEYWORDS_VALUE = 17; /** *
     * The user-specified ad group ad statuses are all paused.
     * 
* * AD_GROUP_ADS_PAUSED = 18; */ public static final int AD_GROUP_ADS_PAUSED_VALUE = 18; /** *
     * No eligible ad group ads exist in this campaign.
     * 
* * NO_AD_GROUP_ADS = 19; */ public static final int NO_AD_GROUP_ADS_VALUE = 19; /** *
     * At least one ad in this campaign is limited by policy.
     * 
* * HAS_ADS_LIMITED_BY_POLICY = 20; */ public static final int HAS_ADS_LIMITED_BY_POLICY_VALUE = 20; /** *
     * At least one ad in this campaign is disapproved.
     * 
* * HAS_ADS_DISAPPROVED = 21; */ public static final int HAS_ADS_DISAPPROVED_VALUE = 21; /** *
     * Most ads in this campaign are pending review.
     * 
* * MOST_ADS_UNDER_REVIEW = 22; */ public static final int MOST_ADS_UNDER_REVIEW_VALUE = 22; /** *
     * The campaign has a lead form goal, and the lead form extension is
     * missing.
     * 
* * MISSING_LEAD_FORM_EXTENSION = 23; */ public static final int MISSING_LEAD_FORM_EXTENSION_VALUE = 23; /** *
     * The campaign has a call goal, and the call extension is missing.
     * 
* * MISSING_CALL_EXTENSION = 24; */ public static final int MISSING_CALL_EXTENSION_VALUE = 24; /** *
     * The lead form extension is under review.
     * 
* * LEAD_FORM_EXTENSION_UNDER_REVIEW = 25; */ public static final int LEAD_FORM_EXTENSION_UNDER_REVIEW_VALUE = 25; /** *
     * The lead extension is disapproved.
     * 
* * LEAD_FORM_EXTENSION_DISAPPROVED = 26; */ public static final int LEAD_FORM_EXTENSION_DISAPPROVED_VALUE = 26; /** *
     * The call extension is under review.
     * 
* * CALL_EXTENSION_UNDER_REVIEW = 27; */ public static final int CALL_EXTENSION_UNDER_REVIEW_VALUE = 27; /** *
     * The call extension is disapproved.
     * 
* * CALL_EXTENSION_DISAPPROVED = 28; */ public static final int CALL_EXTENSION_DISAPPROVED_VALUE = 28; /** *
     * No eligible mobile application ad group criteria exist in this campaign.
     * 
* * NO_MOBILE_APPLICATION_AD_GROUP_CRITERIA = 29; */ public static final int NO_MOBILE_APPLICATION_AD_GROUP_CRITERIA_VALUE = 29; /** *
     * The user-specified campaign group status is paused.
     * 
* * CAMPAIGN_GROUP_PAUSED = 30; */ public static final int CAMPAIGN_GROUP_PAUSED_VALUE = 30; /** *
     * The user-specified times of all group budgets associated with the parent
     * campaign group has passed.
     * 
* * CAMPAIGN_GROUP_ALL_GROUP_BUDGETS_ENDED = 31; */ public static final int CAMPAIGN_GROUP_ALL_GROUP_BUDGETS_ENDED_VALUE = 31; /** *
     * The app associated with this ACi campaign is not released in the target
     * countries of the campaign.
     * 
* * APP_NOT_RELEASED = 32; */ public static final int APP_NOT_RELEASED_VALUE = 32; /** *
     * The app associated with this ACi campaign is partially released in the
     * target countries of the campaign.
     * 
* * APP_PARTIALLY_RELEASED = 33; */ public static final int APP_PARTIALLY_RELEASED_VALUE = 33; /** *
     * At least one asset group in this campaign is disapproved.
     * 
* * HAS_ASSET_GROUPS_DISAPPROVED = 34; */ public static final int HAS_ASSET_GROUPS_DISAPPROVED_VALUE = 34; /** *
     * At least one asset group in this campaign is limited by policy.
     * 
* * HAS_ASSET_GROUPS_LIMITED_BY_POLICY = 35; */ public static final int HAS_ASSET_GROUPS_LIMITED_BY_POLICY_VALUE = 35; /** *
     * Most asset groups in this campaign are pending review.
     * 
* * MOST_ASSET_GROUPS_UNDER_REVIEW = 36; */ public static final int MOST_ASSET_GROUPS_UNDER_REVIEW_VALUE = 36; /** *
     * No eligible asset groups exist in this campaign.
     * 
* * NO_ASSET_GROUPS = 37; */ public static final int NO_ASSET_GROUPS_VALUE = 37; /** *
     * All asset groups in this campaign are paused.
     * 
* * ASSET_GROUPS_PAUSED = 38; */ public static final int ASSET_GROUPS_PAUSED_VALUE = 38; 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 CampaignPrimaryStatusReason 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 CampaignPrimaryStatusReason forNumber(int value) { switch (value) { case 0: return UNSPECIFIED; case 1: return UNKNOWN; case 2: return CAMPAIGN_REMOVED; case 3: return CAMPAIGN_PAUSED; case 4: return CAMPAIGN_PENDING; case 5: return CAMPAIGN_ENDED; case 6: return CAMPAIGN_DRAFT; case 7: return BIDDING_STRATEGY_MISCONFIGURED; case 8: return BIDDING_STRATEGY_LIMITED; case 9: return BIDDING_STRATEGY_LEARNING; case 10: return BIDDING_STRATEGY_CONSTRAINED; case 11: return BUDGET_CONSTRAINED; case 12: return BUDGET_MISCONFIGURED; case 13: return SEARCH_VOLUME_LIMITED; case 14: return AD_GROUPS_PAUSED; case 15: return NO_AD_GROUPS; case 16: return KEYWORDS_PAUSED; case 17: return NO_KEYWORDS; case 18: return AD_GROUP_ADS_PAUSED; case 19: return NO_AD_GROUP_ADS; case 20: return HAS_ADS_LIMITED_BY_POLICY; case 21: return HAS_ADS_DISAPPROVED; case 22: return MOST_ADS_UNDER_REVIEW; case 23: return MISSING_LEAD_FORM_EXTENSION; case 24: return MISSING_CALL_EXTENSION; case 25: return LEAD_FORM_EXTENSION_UNDER_REVIEW; case 26: return LEAD_FORM_EXTENSION_DISAPPROVED; case 27: return CALL_EXTENSION_UNDER_REVIEW; case 28: return CALL_EXTENSION_DISAPPROVED; case 29: return NO_MOBILE_APPLICATION_AD_GROUP_CRITERIA; case 30: return CAMPAIGN_GROUP_PAUSED; case 31: return CAMPAIGN_GROUP_ALL_GROUP_BUDGETS_ENDED; case 32: return APP_NOT_RELEASED; case 33: return APP_PARTIALLY_RELEASED; case 34: return HAS_ASSET_GROUPS_DISAPPROVED; case 35: return HAS_ASSET_GROUPS_LIMITED_BY_POLICY; case 36: return MOST_ASSET_GROUPS_UNDER_REVIEW; case 37: return NO_ASSET_GROUPS; case 38: return ASSET_GROUPS_PAUSED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< CampaignPrimaryStatusReason> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public CampaignPrimaryStatusReason findValueByNumber(int number) { return CampaignPrimaryStatusReason.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.enums.CampaignPrimaryStatusReasonEnum.getDescriptor().getEnumTypes().get(0); } private static final CampaignPrimaryStatusReason[] VALUES = values(); public static CampaignPrimaryStatusReason 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 CampaignPrimaryStatusReason(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason) } 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.enums.CampaignPrimaryStatusReasonEnum)) { return super.equals(obj); } com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum other = (com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum) 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.enums.CampaignPrimaryStatusReasonEnum parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum 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.enums.CampaignPrimaryStatusReasonEnum parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum 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.enums.CampaignPrimaryStatusReasonEnum parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum 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.enums.CampaignPrimaryStatusReasonEnum parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum 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.enums.CampaignPrimaryStatusReasonEnum parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum 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.enums.CampaignPrimaryStatusReasonEnum 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.enums.CampaignPrimaryStatusReasonEnum 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.enums.CampaignPrimaryStatusReasonEnum 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 campaign primary status reasons.
   * 
* * Protobuf type {@code google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum) com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnumOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonProto.internal_static_google_ads_googleads_v17_enums_CampaignPrimaryStatusReasonEnum_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonProto.internal_static_google_ads_googleads_v17_enums_CampaignPrimaryStatusReasonEnum_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum.class, com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum.Builder.class); } // Construct using com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum.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.enums.CampaignPrimaryStatusReasonProto.internal_static_google_ads_googleads_v17_enums_CampaignPrimaryStatusReasonEnum_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum getDefaultInstanceForType() { return com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum build() { com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum buildPartial() { com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum result = new com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum(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.enums.CampaignPrimaryStatusReasonEnum) { return mergeFrom((com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum other) { if (other == com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum.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.enums.CampaignPrimaryStatusReasonEnum) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum) private static final com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum(); } public static com.google.ads.googleads.v17.enums.CampaignPrimaryStatusReasonEnum getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CampaignPrimaryStatusReasonEnum 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.enums.CampaignPrimaryStatusReasonEnum getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy