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

com.google.ads.googleads.v17.common.SitelinkAsset Maven / Gradle / Ivy

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

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

/**
 * 
 * A Sitelink asset.
 * 
* * Protobuf type {@code google.ads.googleads.v17.common.SitelinkAsset} */ public final class SitelinkAsset extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.common.SitelinkAsset) SitelinkAssetOrBuilder { private static final long serialVersionUID = 0L; // Use SitelinkAsset.newBuilder() to construct. private SitelinkAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SitelinkAsset() { linkText_ = ""; description1_ = ""; description2_ = ""; startDate_ = ""; endDate_ = ""; adScheduleTargets_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SitelinkAsset(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_SitelinkAsset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_SitelinkAsset_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.SitelinkAsset.class, com.google.ads.googleads.v17.common.SitelinkAsset.Builder.class); } public static final int LINK_TEXT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object linkText_ = ""; /** *
   * Required. URL display text for the sitelink.
   * The length of this string should be between 1 and 25, inclusive.
   * 
* * string link_text = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The linkText. */ @java.lang.Override public java.lang.String getLinkText() { java.lang.Object ref = linkText_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkText_ = s; return s; } } /** *
   * Required. URL display text for the sitelink.
   * The length of this string should be between 1 and 25, inclusive.
   * 
* * string link_text = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for linkText. */ @java.lang.Override public com.google.protobuf.ByteString getLinkTextBytes() { java.lang.Object ref = linkText_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); linkText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION1_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object description1_ = ""; /** *
   * First line of the description for the sitelink.
   * If set, the length should be between 1 and 35, inclusive, and description2
   * must also be set.
   * 
* * string description1 = 2; * @return The description1. */ @java.lang.Override public java.lang.String getDescription1() { java.lang.Object ref = description1_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description1_ = s; return s; } } /** *
   * First line of the description for the sitelink.
   * If set, the length should be between 1 and 35, inclusive, and description2
   * must also be set.
   * 
* * string description1 = 2; * @return The bytes for description1. */ @java.lang.Override public com.google.protobuf.ByteString getDescription1Bytes() { java.lang.Object ref = description1_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description1_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION2_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object description2_ = ""; /** *
   * Second line of the description for the sitelink.
   * If set, the length should be between 1 and 35, inclusive, and description1
   * must also be set.
   * 
* * string description2 = 3; * @return The description2. */ @java.lang.Override public java.lang.String getDescription2() { java.lang.Object ref = description2_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description2_ = s; return s; } } /** *
   * Second line of the description for the sitelink.
   * If set, the length should be between 1 and 35, inclusive, and description1
   * must also be set.
   * 
* * string description2 = 3; * @return The bytes for description2. */ @java.lang.Override public com.google.protobuf.ByteString getDescription2Bytes() { java.lang.Object ref = description2_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description2_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_DATE_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object startDate_ = ""; /** *
   * Start date of when this asset is effective and can begin serving, in
   * yyyy-MM-dd format.
   * 
* * string start_date = 4; * @return The startDate. */ @java.lang.Override public java.lang.String getStartDate() { java.lang.Object ref = startDate_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startDate_ = s; return s; } } /** *
   * Start date of when this asset is effective and can begin serving, in
   * yyyy-MM-dd format.
   * 
* * string start_date = 4; * @return The bytes for startDate. */ @java.lang.Override public com.google.protobuf.ByteString getStartDateBytes() { java.lang.Object ref = startDate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); startDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int END_DATE_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object endDate_ = ""; /** *
   * Last date of when this asset is effective and still serving, in yyyy-MM-dd
   * format.
   * 
* * string end_date = 5; * @return The endDate. */ @java.lang.Override public java.lang.String getEndDate() { java.lang.Object ref = endDate_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endDate_ = s; return s; } } /** *
   * Last date of when this asset is effective and still serving, in yyyy-MM-dd
   * format.
   * 
* * string end_date = 5; * @return The bytes for endDate. */ @java.lang.Override public com.google.protobuf.ByteString getEndDateBytes() { java.lang.Object ref = endDate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AD_SCHEDULE_TARGETS_FIELD_NUMBER = 6; @SuppressWarnings("serial") private java.util.List adScheduleTargets_; /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ @java.lang.Override public java.util.List getAdScheduleTargetsList() { return adScheduleTargets_; } /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ @java.lang.Override public java.util.List getAdScheduleTargetsOrBuilderList() { return adScheduleTargets_; } /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ @java.lang.Override public int getAdScheduleTargetsCount() { return adScheduleTargets_.size(); } /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ @java.lang.Override public com.google.ads.googleads.v17.common.AdScheduleInfo getAdScheduleTargets(int index) { return adScheduleTargets_.get(index); } /** *
   * List of non-overlapping schedules specifying all time intervals for which
   * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
   * total.
   * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ @java.lang.Override public com.google.ads.googleads.v17.common.AdScheduleInfoOrBuilder getAdScheduleTargetsOrBuilder( int index) { return adScheduleTargets_.get(index); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkText_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, linkText_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description1_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description1_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description2_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description2_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startDate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, startDate_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endDate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, endDate_); } for (int i = 0; i < adScheduleTargets_.size(); i++) { output.writeMessage(6, adScheduleTargets_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, linkText_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description1_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description1_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description2_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description2_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startDate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, startDate_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endDate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, endDate_); } for (int i = 0; i < adScheduleTargets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, adScheduleTargets_.get(i)); } 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.common.SitelinkAsset)) { return super.equals(obj); } com.google.ads.googleads.v17.common.SitelinkAsset other = (com.google.ads.googleads.v17.common.SitelinkAsset) obj; if (!getLinkText() .equals(other.getLinkText())) return false; if (!getDescription1() .equals(other.getDescription1())) return false; if (!getDescription2() .equals(other.getDescription2())) return false; if (!getStartDate() .equals(other.getStartDate())) return false; if (!getEndDate() .equals(other.getEndDate())) return false; if (!getAdScheduleTargetsList() .equals(other.getAdScheduleTargetsList())) 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(); hash = (37 * hash) + LINK_TEXT_FIELD_NUMBER; hash = (53 * hash) + getLinkText().hashCode(); hash = (37 * hash) + DESCRIPTION1_FIELD_NUMBER; hash = (53 * hash) + getDescription1().hashCode(); hash = (37 * hash) + DESCRIPTION2_FIELD_NUMBER; hash = (53 * hash) + getDescription2().hashCode(); hash = (37 * hash) + START_DATE_FIELD_NUMBER; hash = (53 * hash) + getStartDate().hashCode(); hash = (37 * hash) + END_DATE_FIELD_NUMBER; hash = (53 * hash) + getEndDate().hashCode(); if (getAdScheduleTargetsCount() > 0) { hash = (37 * hash) + AD_SCHEDULE_TARGETS_FIELD_NUMBER; hash = (53 * hash) + getAdScheduleTargetsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.common.SitelinkAsset parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.SitelinkAsset 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.common.SitelinkAsset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.SitelinkAsset 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.common.SitelinkAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.SitelinkAsset 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.common.SitelinkAsset parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.SitelinkAsset 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.common.SitelinkAsset parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.SitelinkAsset 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.common.SitelinkAsset 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.common.SitelinkAsset 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.common.SitelinkAsset 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; } /** *
   * A Sitelink asset.
   * 
* * Protobuf type {@code google.ads.googleads.v17.common.SitelinkAsset} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.common.SitelinkAsset) com.google.ads.googleads.v17.common.SitelinkAssetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_SitelinkAsset_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_SitelinkAsset_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.SitelinkAsset.class, com.google.ads.googleads.v17.common.SitelinkAsset.Builder.class); } // Construct using com.google.ads.googleads.v17.common.SitelinkAsset.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; linkText_ = ""; description1_ = ""; description2_ = ""; startDate_ = ""; endDate_ = ""; if (adScheduleTargetsBuilder_ == null) { adScheduleTargets_ = java.util.Collections.emptyList(); } else { adScheduleTargets_ = null; adScheduleTargetsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.common.AssetTypesProto.internal_static_google_ads_googleads_v17_common_SitelinkAsset_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.common.SitelinkAsset getDefaultInstanceForType() { return com.google.ads.googleads.v17.common.SitelinkAsset.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.common.SitelinkAsset build() { com.google.ads.googleads.v17.common.SitelinkAsset result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.common.SitelinkAsset buildPartial() { com.google.ads.googleads.v17.common.SitelinkAsset result = new com.google.ads.googleads.v17.common.SitelinkAsset(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.ads.googleads.v17.common.SitelinkAsset result) { if (adScheduleTargetsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { adScheduleTargets_ = java.util.Collections.unmodifiableList(adScheduleTargets_); bitField0_ = (bitField0_ & ~0x00000020); } result.adScheduleTargets_ = adScheduleTargets_; } else { result.adScheduleTargets_ = adScheduleTargetsBuilder_.build(); } } private void buildPartial0(com.google.ads.googleads.v17.common.SitelinkAsset result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.linkText_ = linkText_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.description1_ = description1_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.description2_ = description2_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.startDate_ = startDate_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.endDate_ = endDate_; } } @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.common.SitelinkAsset) { return mergeFrom((com.google.ads.googleads.v17.common.SitelinkAsset)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.common.SitelinkAsset other) { if (other == com.google.ads.googleads.v17.common.SitelinkAsset.getDefaultInstance()) return this; if (!other.getLinkText().isEmpty()) { linkText_ = other.linkText_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getDescription1().isEmpty()) { description1_ = other.description1_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getDescription2().isEmpty()) { description2_ = other.description2_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getStartDate().isEmpty()) { startDate_ = other.startDate_; bitField0_ |= 0x00000008; onChanged(); } if (!other.getEndDate().isEmpty()) { endDate_ = other.endDate_; bitField0_ |= 0x00000010; onChanged(); } if (adScheduleTargetsBuilder_ == null) { if (!other.adScheduleTargets_.isEmpty()) { if (adScheduleTargets_.isEmpty()) { adScheduleTargets_ = other.adScheduleTargets_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.addAll(other.adScheduleTargets_); } onChanged(); } } else { if (!other.adScheduleTargets_.isEmpty()) { if (adScheduleTargetsBuilder_.isEmpty()) { adScheduleTargetsBuilder_.dispose(); adScheduleTargetsBuilder_ = null; adScheduleTargets_ = other.adScheduleTargets_; bitField0_ = (bitField0_ & ~0x00000020); adScheduleTargetsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAdScheduleTargetsFieldBuilder() : null; } else { adScheduleTargetsBuilder_.addAllMessages(other.adScheduleTargets_); } } } 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 10: { linkText_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { description1_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { description2_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { startDate_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { endDate_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 case 50: { com.google.ads.googleads.v17.common.AdScheduleInfo m = input.readMessage( com.google.ads.googleads.v17.common.AdScheduleInfo.parser(), extensionRegistry); if (adScheduleTargetsBuilder_ == null) { ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.add(m); } else { adScheduleTargetsBuilder_.addMessage(m); } break; } // case 50 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 java.lang.Object linkText_ = ""; /** *
     * Required. URL display text for the sitelink.
     * The length of this string should be between 1 and 25, inclusive.
     * 
* * string link_text = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The linkText. */ public java.lang.String getLinkText() { java.lang.Object ref = linkText_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); linkText_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Required. URL display text for the sitelink.
     * The length of this string should be between 1 and 25, inclusive.
     * 
* * string link_text = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for linkText. */ public com.google.protobuf.ByteString getLinkTextBytes() { java.lang.Object ref = linkText_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); linkText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Required. URL display text for the sitelink.
     * The length of this string should be between 1 and 25, inclusive.
     * 
* * string link_text = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The linkText to set. * @return This builder for chaining. */ public Builder setLinkText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } linkText_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Required. URL display text for the sitelink.
     * The length of this string should be between 1 and 25, inclusive.
     * 
* * string link_text = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearLinkText() { linkText_ = getDefaultInstance().getLinkText(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * Required. URL display text for the sitelink.
     * The length of this string should be between 1 and 25, inclusive.
     * 
* * string link_text = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for linkText to set. * @return This builder for chaining. */ public Builder setLinkTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); linkText_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object description1_ = ""; /** *
     * First line of the description for the sitelink.
     * If set, the length should be between 1 and 35, inclusive, and description2
     * must also be set.
     * 
* * string description1 = 2; * @return The description1. */ public java.lang.String getDescription1() { java.lang.Object ref = description1_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description1_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * First line of the description for the sitelink.
     * If set, the length should be between 1 and 35, inclusive, and description2
     * must also be set.
     * 
* * string description1 = 2; * @return The bytes for description1. */ public com.google.protobuf.ByteString getDescription1Bytes() { java.lang.Object ref = description1_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description1_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * First line of the description for the sitelink.
     * If set, the length should be between 1 and 35, inclusive, and description2
     * must also be set.
     * 
* * string description1 = 2; * @param value The description1 to set. * @return This builder for chaining. */ public Builder setDescription1( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description1_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * First line of the description for the sitelink.
     * If set, the length should be between 1 and 35, inclusive, and description2
     * must also be set.
     * 
* * string description1 = 2; * @return This builder for chaining. */ public Builder clearDescription1() { description1_ = getDefaultInstance().getDescription1(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * First line of the description for the sitelink.
     * If set, the length should be between 1 and 35, inclusive, and description2
     * must also be set.
     * 
* * string description1 = 2; * @param value The bytes for description1 to set. * @return This builder for chaining. */ public Builder setDescription1Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description1_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object description2_ = ""; /** *
     * Second line of the description for the sitelink.
     * If set, the length should be between 1 and 35, inclusive, and description1
     * must also be set.
     * 
* * string description2 = 3; * @return The description2. */ public java.lang.String getDescription2() { java.lang.Object ref = description2_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description2_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Second line of the description for the sitelink.
     * If set, the length should be between 1 and 35, inclusive, and description1
     * must also be set.
     * 
* * string description2 = 3; * @return The bytes for description2. */ public com.google.protobuf.ByteString getDescription2Bytes() { java.lang.Object ref = description2_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description2_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Second line of the description for the sitelink.
     * If set, the length should be between 1 and 35, inclusive, and description1
     * must also be set.
     * 
* * string description2 = 3; * @param value The description2 to set. * @return This builder for chaining. */ public Builder setDescription2( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description2_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Second line of the description for the sitelink.
     * If set, the length should be between 1 and 35, inclusive, and description1
     * must also be set.
     * 
* * string description2 = 3; * @return This builder for chaining. */ public Builder clearDescription2() { description2_ = getDefaultInstance().getDescription2(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * Second line of the description for the sitelink.
     * If set, the length should be between 1 and 35, inclusive, and description1
     * must also be set.
     * 
* * string description2 = 3; * @param value The bytes for description2 to set. * @return This builder for chaining. */ public Builder setDescription2Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description2_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object startDate_ = ""; /** *
     * Start date of when this asset is effective and can begin serving, in
     * yyyy-MM-dd format.
     * 
* * string start_date = 4; * @return The startDate. */ public java.lang.String getStartDate() { java.lang.Object ref = startDate_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startDate_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Start date of when this asset is effective and can begin serving, in
     * yyyy-MM-dd format.
     * 
* * string start_date = 4; * @return The bytes for startDate. */ public com.google.protobuf.ByteString getStartDateBytes() { java.lang.Object ref = startDate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); startDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Start date of when this asset is effective and can begin serving, in
     * yyyy-MM-dd format.
     * 
* * string start_date = 4; * @param value The startDate to set. * @return This builder for chaining. */ public Builder setStartDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } startDate_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Start date of when this asset is effective and can begin serving, in
     * yyyy-MM-dd format.
     * 
* * string start_date = 4; * @return This builder for chaining. */ public Builder clearStartDate() { startDate_ = getDefaultInstance().getStartDate(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * Start date of when this asset is effective and can begin serving, in
     * yyyy-MM-dd format.
     * 
* * string start_date = 4; * @param value The bytes for startDate to set. * @return This builder for chaining. */ public Builder setStartDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); startDate_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private java.lang.Object endDate_ = ""; /** *
     * Last date of when this asset is effective and still serving, in yyyy-MM-dd
     * format.
     * 
* * string end_date = 5; * @return The endDate. */ public java.lang.String getEndDate() { java.lang.Object ref = endDate_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endDate_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Last date of when this asset is effective and still serving, in yyyy-MM-dd
     * format.
     * 
* * string end_date = 5; * @return The bytes for endDate. */ public com.google.protobuf.ByteString getEndDateBytes() { java.lang.Object ref = endDate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Last date of when this asset is effective and still serving, in yyyy-MM-dd
     * format.
     * 
* * string end_date = 5; * @param value The endDate to set. * @return This builder for chaining. */ public Builder setEndDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } endDate_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Last date of when this asset is effective and still serving, in yyyy-MM-dd
     * format.
     * 
* * string end_date = 5; * @return This builder for chaining. */ public Builder clearEndDate() { endDate_ = getDefaultInstance().getEndDate(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
     * Last date of when this asset is effective and still serving, in yyyy-MM-dd
     * format.
     * 
* * string end_date = 5; * @param value The bytes for endDate to set. * @return This builder for chaining. */ public Builder setEndDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endDate_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private java.util.List adScheduleTargets_ = java.util.Collections.emptyList(); private void ensureAdScheduleTargetsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { adScheduleTargets_ = new java.util.ArrayList(adScheduleTargets_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v17.common.AdScheduleInfo, com.google.ads.googleads.v17.common.AdScheduleInfo.Builder, com.google.ads.googleads.v17.common.AdScheduleInfoOrBuilder> adScheduleTargetsBuilder_; /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public java.util.List getAdScheduleTargetsList() { if (adScheduleTargetsBuilder_ == null) { return java.util.Collections.unmodifiableList(adScheduleTargets_); } else { return adScheduleTargetsBuilder_.getMessageList(); } } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public int getAdScheduleTargetsCount() { if (adScheduleTargetsBuilder_ == null) { return adScheduleTargets_.size(); } else { return adScheduleTargetsBuilder_.getCount(); } } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public com.google.ads.googleads.v17.common.AdScheduleInfo getAdScheduleTargets(int index) { if (adScheduleTargetsBuilder_ == null) { return adScheduleTargets_.get(index); } else { return adScheduleTargetsBuilder_.getMessage(index); } } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public Builder setAdScheduleTargets( int index, com.google.ads.googleads.v17.common.AdScheduleInfo value) { if (adScheduleTargetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.set(index, value); onChanged(); } else { adScheduleTargetsBuilder_.setMessage(index, value); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public Builder setAdScheduleTargets( int index, com.google.ads.googleads.v17.common.AdScheduleInfo.Builder builderForValue) { if (adScheduleTargetsBuilder_ == null) { ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.set(index, builderForValue.build()); onChanged(); } else { adScheduleTargetsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public Builder addAdScheduleTargets(com.google.ads.googleads.v17.common.AdScheduleInfo value) { if (adScheduleTargetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.add(value); onChanged(); } else { adScheduleTargetsBuilder_.addMessage(value); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public Builder addAdScheduleTargets( int index, com.google.ads.googleads.v17.common.AdScheduleInfo value) { if (adScheduleTargetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.add(index, value); onChanged(); } else { adScheduleTargetsBuilder_.addMessage(index, value); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public Builder addAdScheduleTargets( com.google.ads.googleads.v17.common.AdScheduleInfo.Builder builderForValue) { if (adScheduleTargetsBuilder_ == null) { ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.add(builderForValue.build()); onChanged(); } else { adScheduleTargetsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public Builder addAdScheduleTargets( int index, com.google.ads.googleads.v17.common.AdScheduleInfo.Builder builderForValue) { if (adScheduleTargetsBuilder_ == null) { ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.add(index, builderForValue.build()); onChanged(); } else { adScheduleTargetsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public Builder addAllAdScheduleTargets( java.lang.Iterable values) { if (adScheduleTargetsBuilder_ == null) { ensureAdScheduleTargetsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, adScheduleTargets_); onChanged(); } else { adScheduleTargetsBuilder_.addAllMessages(values); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public Builder clearAdScheduleTargets() { if (adScheduleTargetsBuilder_ == null) { adScheduleTargets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { adScheduleTargetsBuilder_.clear(); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public Builder removeAdScheduleTargets(int index) { if (adScheduleTargetsBuilder_ == null) { ensureAdScheduleTargetsIsMutable(); adScheduleTargets_.remove(index); onChanged(); } else { adScheduleTargetsBuilder_.remove(index); } return this; } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public com.google.ads.googleads.v17.common.AdScheduleInfo.Builder getAdScheduleTargetsBuilder( int index) { return getAdScheduleTargetsFieldBuilder().getBuilder(index); } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public com.google.ads.googleads.v17.common.AdScheduleInfoOrBuilder getAdScheduleTargetsOrBuilder( int index) { if (adScheduleTargetsBuilder_ == null) { return adScheduleTargets_.get(index); } else { return adScheduleTargetsBuilder_.getMessageOrBuilder(index); } } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public java.util.List getAdScheduleTargetsOrBuilderList() { if (adScheduleTargetsBuilder_ != null) { return adScheduleTargetsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(adScheduleTargets_); } } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public com.google.ads.googleads.v17.common.AdScheduleInfo.Builder addAdScheduleTargetsBuilder() { return getAdScheduleTargetsFieldBuilder().addBuilder( com.google.ads.googleads.v17.common.AdScheduleInfo.getDefaultInstance()); } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public com.google.ads.googleads.v17.common.AdScheduleInfo.Builder addAdScheduleTargetsBuilder( int index) { return getAdScheduleTargetsFieldBuilder().addBuilder( index, com.google.ads.googleads.v17.common.AdScheduleInfo.getDefaultInstance()); } /** *
     * List of non-overlapping schedules specifying all time intervals for which
     * the asset may serve. There can be a maximum of 6 schedules per day, 42 in
     * total.
     * 
* * repeated .google.ads.googleads.v17.common.AdScheduleInfo ad_schedule_targets = 6; */ public java.util.List getAdScheduleTargetsBuilderList() { return getAdScheduleTargetsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v17.common.AdScheduleInfo, com.google.ads.googleads.v17.common.AdScheduleInfo.Builder, com.google.ads.googleads.v17.common.AdScheduleInfoOrBuilder> getAdScheduleTargetsFieldBuilder() { if (adScheduleTargetsBuilder_ == null) { adScheduleTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v17.common.AdScheduleInfo, com.google.ads.googleads.v17.common.AdScheduleInfo.Builder, com.google.ads.googleads.v17.common.AdScheduleInfoOrBuilder>( adScheduleTargets_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); adScheduleTargets_ = null; } return adScheduleTargetsBuilder_; } @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.common.SitelinkAsset) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.common.SitelinkAsset) private static final com.google.ads.googleads.v17.common.SitelinkAsset DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.common.SitelinkAsset(); } public static com.google.ads.googleads.v17.common.SitelinkAsset getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SitelinkAsset 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.common.SitelinkAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy