com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum 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/enums/custom_placeholder_field.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.enums;
/**
*
* Values for Custom placeholder fields.
* For more information about dynamic remarketing feeds, see
* https://support.google.com/google-ads/answer/6053288.
*
*
* Protobuf type {@code google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum}
*/
public final class CustomPlaceholderFieldEnum extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum)
CustomPlaceholderFieldEnumOrBuilder {
private static final long serialVersionUID = 0L;
// Use CustomPlaceholderFieldEnum.newBuilder() to construct.
private CustomPlaceholderFieldEnum(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CustomPlaceholderFieldEnum() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CustomPlaceholderFieldEnum();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.enums.CustomPlaceholderFieldProto.internal_static_google_ads_googleads_v17_enums_CustomPlaceholderFieldEnum_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.enums.CustomPlaceholderFieldProto.internal_static_google_ads_googleads_v17_enums_CustomPlaceholderFieldEnum_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum.class, com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum.Builder.class);
}
/**
*
* Possible values for Custom placeholder fields.
*
*
* Protobuf enum {@code google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField}
*/
public enum CustomPlaceholderField
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),
/**
*
* Data Type: STRING. Required. Combination ID and ID2 must be unique per
* offer.
*
*
* ID = 2;
*/
ID(2),
/**
*
* Data Type: STRING. Combination ID and ID2 must be unique per offer.
*
*
* ID2 = 3;
*/
ID2(3),
/**
*
* Data Type: STRING. Required. Main headline with product name to be shown
* in dynamic ad.
*
*
* ITEM_TITLE = 4;
*/
ITEM_TITLE(4),
/**
*
* Data Type: STRING. Optional text to be shown in the image ad.
*
*
* ITEM_SUBTITLE = 5;
*/
ITEM_SUBTITLE(5),
/**
*
* Data Type: STRING. Optional description of the product to be shown in the
* ad.
*
*
* ITEM_DESCRIPTION = 6;
*/
ITEM_DESCRIPTION(6),
/**
*
* Data Type: STRING. Full address of your offer or service, including
* postal code. This will be used to identify the closest product to the
* user when there are multiple offers in the feed that are relevant to the
* user.
*
*
* ITEM_ADDRESS = 7;
*/
ITEM_ADDRESS(7),
/**
*
* Data Type: STRING. Price to be shown in the ad.
* Example: "100.00 USD"
*
*
* PRICE = 8;
*/
PRICE(8),
/**
*
* Data Type: STRING. Formatted price to be shown in the ad.
* Example: "Starting at $100.00 USD", "$80 - $100"
*
*
* FORMATTED_PRICE = 9;
*/
FORMATTED_PRICE(9),
/**
*
* Data Type: STRING. Sale price to be shown in the ad.
* Example: "80.00 USD"
*
*
* SALE_PRICE = 10;
*/
SALE_PRICE(10),
/**
*
* Data Type: STRING. Formatted sale price to be shown in the ad.
* Example: "On sale for $80.00", "$60 - $80"
*
*
* FORMATTED_SALE_PRICE = 11;
*/
FORMATTED_SALE_PRICE(11),
/**
*
* Data Type: URL. Image to be displayed in the ad. Highly recommended for
* image ads.
*
*
* IMAGE_URL = 12;
*/
IMAGE_URL(12),
/**
*
* Data Type: STRING. Used as a recommendation engine signal to serve items
* in the same category.
*
*
* ITEM_CATEGORY = 13;
*/
ITEM_CATEGORY(13),
/**
*
* Data Type: URL_LIST. Final URLs for the ad when using Upgraded
* URLs. User will be redirected to these URLs when they click on an ad, or
* when they click on a specific product for ads that have multiple
* products.
*
*
* FINAL_URLS = 14;
*/
FINAL_URLS(14),
/**
*
* Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded
* URLs.
*
*
* FINAL_MOBILE_URLS = 15;
*/
FINAL_MOBILE_URLS(15),
/**
*
* Data Type: URL. Tracking template for the ad when using Upgraded URLs.
*
*
* TRACKING_URL = 16;
*/
TRACKING_URL(16),
/**
*
* Data Type: STRING_LIST. Keywords used for product retrieval.
*
*
* CONTEXTUAL_KEYWORDS = 17;
*/
CONTEXTUAL_KEYWORDS(17),
/**
*
* Data Type: STRING. Android app link. Must be formatted as:
* android-app://{package_id}/{scheme}/{host_path}.
* The components are defined as follows:
* package_id: app ID as specified in Google Play.
* scheme: the scheme to pass to the application. Can be HTTP, or a custom
* scheme.
* host_path: identifies the specific content within your application.
*
*
* ANDROID_APP_LINK = 18;
*/
ANDROID_APP_LINK(18),
/**
*
* Data Type: STRING_LIST. List of recommended IDs to show together with
* this item.
*
*
* SIMILAR_IDS = 19;
*/
SIMILAR_IDS(19),
/**
*
* Data Type: STRING. iOS app link.
*
*
* IOS_APP_LINK = 20;
*/
IOS_APP_LINK(20),
/**
*
* Data Type: INT64. iOS app store ID.
*
*
* IOS_APP_STORE_ID = 21;
*/
IOS_APP_STORE_ID(21),
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;
/**
*
* Data Type: STRING. Required. Combination ID and ID2 must be unique per
* offer.
*
*
* ID = 2;
*/
public static final int ID_VALUE = 2;
/**
*
* Data Type: STRING. Combination ID and ID2 must be unique per offer.
*
*
* ID2 = 3;
*/
public static final int ID2_VALUE = 3;
/**
*
* Data Type: STRING. Required. Main headline with product name to be shown
* in dynamic ad.
*
*
* ITEM_TITLE = 4;
*/
public static final int ITEM_TITLE_VALUE = 4;
/**
*
* Data Type: STRING. Optional text to be shown in the image ad.
*
*
* ITEM_SUBTITLE = 5;
*/
public static final int ITEM_SUBTITLE_VALUE = 5;
/**
*
* Data Type: STRING. Optional description of the product to be shown in the
* ad.
*
*
* ITEM_DESCRIPTION = 6;
*/
public static final int ITEM_DESCRIPTION_VALUE = 6;
/**
*
* Data Type: STRING. Full address of your offer or service, including
* postal code. This will be used to identify the closest product to the
* user when there are multiple offers in the feed that are relevant to the
* user.
*
*
* ITEM_ADDRESS = 7;
*/
public static final int ITEM_ADDRESS_VALUE = 7;
/**
*
* Data Type: STRING. Price to be shown in the ad.
* Example: "100.00 USD"
*
*
* PRICE = 8;
*/
public static final int PRICE_VALUE = 8;
/**
*
* Data Type: STRING. Formatted price to be shown in the ad.
* Example: "Starting at $100.00 USD", "$80 - $100"
*
*
* FORMATTED_PRICE = 9;
*/
public static final int FORMATTED_PRICE_VALUE = 9;
/**
*
* Data Type: STRING. Sale price to be shown in the ad.
* Example: "80.00 USD"
*
*
* SALE_PRICE = 10;
*/
public static final int SALE_PRICE_VALUE = 10;
/**
*
* Data Type: STRING. Formatted sale price to be shown in the ad.
* Example: "On sale for $80.00", "$60 - $80"
*
*
* FORMATTED_SALE_PRICE = 11;
*/
public static final int FORMATTED_SALE_PRICE_VALUE = 11;
/**
*
* Data Type: URL. Image to be displayed in the ad. Highly recommended for
* image ads.
*
*
* IMAGE_URL = 12;
*/
public static final int IMAGE_URL_VALUE = 12;
/**
*
* Data Type: STRING. Used as a recommendation engine signal to serve items
* in the same category.
*
*
* ITEM_CATEGORY = 13;
*/
public static final int ITEM_CATEGORY_VALUE = 13;
/**
*
* Data Type: URL_LIST. Final URLs for the ad when using Upgraded
* URLs. User will be redirected to these URLs when they click on an ad, or
* when they click on a specific product for ads that have multiple
* products.
*
*
* FINAL_URLS = 14;
*/
public static final int FINAL_URLS_VALUE = 14;
/**
*
* Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded
* URLs.
*
*
* FINAL_MOBILE_URLS = 15;
*/
public static final int FINAL_MOBILE_URLS_VALUE = 15;
/**
*
* Data Type: URL. Tracking template for the ad when using Upgraded URLs.
*
*
* TRACKING_URL = 16;
*/
public static final int TRACKING_URL_VALUE = 16;
/**
*
* Data Type: STRING_LIST. Keywords used for product retrieval.
*
*
* CONTEXTUAL_KEYWORDS = 17;
*/
public static final int CONTEXTUAL_KEYWORDS_VALUE = 17;
/**
*
* Data Type: STRING. Android app link. Must be formatted as:
* android-app://{package_id}/{scheme}/{host_path}.
* The components are defined as follows:
* package_id: app ID as specified in Google Play.
* scheme: the scheme to pass to the application. Can be HTTP, or a custom
* scheme.
* host_path: identifies the specific content within your application.
*
*
* ANDROID_APP_LINK = 18;
*/
public static final int ANDROID_APP_LINK_VALUE = 18;
/**
*
* Data Type: STRING_LIST. List of recommended IDs to show together with
* this item.
*
*
* SIMILAR_IDS = 19;
*/
public static final int SIMILAR_IDS_VALUE = 19;
/**
*
* Data Type: STRING. iOS app link.
*
*
* IOS_APP_LINK = 20;
*/
public static final int IOS_APP_LINK_VALUE = 20;
/**
*
* Data Type: INT64. iOS app store ID.
*
*
* IOS_APP_STORE_ID = 21;
*/
public static final int IOS_APP_STORE_ID_VALUE = 21;
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 CustomPlaceholderField 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 CustomPlaceholderField forNumber(int value) {
switch (value) {
case 0: return UNSPECIFIED;
case 1: return UNKNOWN;
case 2: return ID;
case 3: return ID2;
case 4: return ITEM_TITLE;
case 5: return ITEM_SUBTITLE;
case 6: return ITEM_DESCRIPTION;
case 7: return ITEM_ADDRESS;
case 8: return PRICE;
case 9: return FORMATTED_PRICE;
case 10: return SALE_PRICE;
case 11: return FORMATTED_SALE_PRICE;
case 12: return IMAGE_URL;
case 13: return ITEM_CATEGORY;
case 14: return FINAL_URLS;
case 15: return FINAL_MOBILE_URLS;
case 16: return TRACKING_URL;
case 17: return CONTEXTUAL_KEYWORDS;
case 18: return ANDROID_APP_LINK;
case 19: return SIMILAR_IDS;
case 20: return IOS_APP_LINK;
case 21: return IOS_APP_STORE_ID;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CustomPlaceholderField> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public CustomPlaceholderField findValueByNumber(int number) {
return CustomPlaceholderField.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.CustomPlaceholderFieldEnum.getDescriptor().getEnumTypes().get(0);
}
private static final CustomPlaceholderField[] VALUES = values();
public static CustomPlaceholderField 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 CustomPlaceholderField(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField)
}
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.CustomPlaceholderFieldEnum)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum other = (com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum) 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.CustomPlaceholderFieldEnum parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum 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.CustomPlaceholderFieldEnum parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum 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.CustomPlaceholderFieldEnum parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum 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.CustomPlaceholderFieldEnum 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.CustomPlaceholderFieldEnum 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.CustomPlaceholderFieldEnum 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.CustomPlaceholderFieldEnum 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.CustomPlaceholderFieldEnum 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.CustomPlaceholderFieldEnum 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.CustomPlaceholderFieldEnum 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;
}
/**
*
* Values for Custom placeholder fields.
* For more information about dynamic remarketing feeds, see
* https://support.google.com/google-ads/answer/6053288.
*
*
* Protobuf type {@code google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum)
com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnumOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.enums.CustomPlaceholderFieldProto.internal_static_google_ads_googleads_v17_enums_CustomPlaceholderFieldEnum_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.enums.CustomPlaceholderFieldProto.internal_static_google_ads_googleads_v17_enums_CustomPlaceholderFieldEnum_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum.class, com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum.Builder.class);
}
// Construct using com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum.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.CustomPlaceholderFieldProto.internal_static_google_ads_googleads_v17_enums_CustomPlaceholderFieldEnum_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum getDefaultInstanceForType() {
return com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum build() {
com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum buildPartial() {
com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum result = new com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum(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.CustomPlaceholderFieldEnum) {
return mergeFrom((com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum other) {
if (other == com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum.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.CustomPlaceholderFieldEnum)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum)
private static final com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum();
}
public static com.google.ads.googleads.v17.enums.CustomPlaceholderFieldEnum getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CustomPlaceholderFieldEnum 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.CustomPlaceholderFieldEnum getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy