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

com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v13/services/audience_insights_service.proto

package com.google.ads.googleads.v13.services;

/**
 * 
 * Metadata associated with a Dynamic Lineup attribute.
 * 
* * Protobuf type {@code google.ads.googleads.v13.services.DynamicLineupAttributeMetadata} */ public final class DynamicLineupAttributeMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v13.services.DynamicLineupAttributeMetadata) DynamicLineupAttributeMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use DynamicLineupAttributeMetadata.newBuilder() to construct. private DynamicLineupAttributeMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DynamicLineupAttributeMetadata() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DynamicLineupAttributeMetadata(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v13.services.AudienceInsightsServiceProto.internal_static_google_ads_googleads_v13_services_DynamicLineupAttributeMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v13.services.AudienceInsightsServiceProto.internal_static_google_ads_googleads_v13_services_DynamicLineupAttributeMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata.class, com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata.Builder.class); } private int bitField0_; public static final int INVENTORY_COUNTRY_FIELD_NUMBER = 1; private com.google.ads.googleads.v13.common.LocationInfo inventoryCountry_; /** *
   * The national market associated with the lineup.
   * 
* * .google.ads.googleads.v13.common.LocationInfo inventory_country = 1; * @return Whether the inventoryCountry field is set. */ @java.lang.Override public boolean hasInventoryCountry() { return inventoryCountry_ != null; } /** *
   * The national market associated with the lineup.
   * 
* * .google.ads.googleads.v13.common.LocationInfo inventory_country = 1; * @return The inventoryCountry. */ @java.lang.Override public com.google.ads.googleads.v13.common.LocationInfo getInventoryCountry() { return inventoryCountry_ == null ? com.google.ads.googleads.v13.common.LocationInfo.getDefaultInstance() : inventoryCountry_; } /** *
   * The national market associated with the lineup.
   * 
* * .google.ads.googleads.v13.common.LocationInfo inventory_country = 1; */ @java.lang.Override public com.google.ads.googleads.v13.common.LocationInfoOrBuilder getInventoryCountryOrBuilder() { return inventoryCountry_ == null ? com.google.ads.googleads.v13.common.LocationInfo.getDefaultInstance() : inventoryCountry_; } public static final int MEDIAN_MONTHLY_INVENTORY_FIELD_NUMBER = 2; private long medianMonthlyInventory_ = 0L; /** *
   * The median number of impressions per month on this lineup.
   * 
* * optional int64 median_monthly_inventory = 2; * @return Whether the medianMonthlyInventory field is set. */ @java.lang.Override public boolean hasMedianMonthlyInventory() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * The median number of impressions per month on this lineup.
   * 
* * optional int64 median_monthly_inventory = 2; * @return The medianMonthlyInventory. */ @java.lang.Override public long getMedianMonthlyInventory() { return medianMonthlyInventory_; } public static final int CHANNEL_COUNT_LOWER_BOUND_FIELD_NUMBER = 3; private long channelCountLowerBound_ = 0L; /** *
   * The lower end of a range containing the number of channels in the lineup.
   * 
* * optional int64 channel_count_lower_bound = 3; * @return Whether the channelCountLowerBound field is set. */ @java.lang.Override public boolean hasChannelCountLowerBound() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * The lower end of a range containing the number of channels in the lineup.
   * 
* * optional int64 channel_count_lower_bound = 3; * @return The channelCountLowerBound. */ @java.lang.Override public long getChannelCountLowerBound() { return channelCountLowerBound_; } public static final int CHANNEL_COUNT_UPPER_BOUND_FIELD_NUMBER = 4; private long channelCountUpperBound_ = 0L; /** *
   * The upper end of a range containing the number of channels in the lineup.
   * 
* * optional int64 channel_count_upper_bound = 4; * @return Whether the channelCountUpperBound field is set. */ @java.lang.Override public boolean hasChannelCountUpperBound() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * The upper end of a range containing the number of channels in the lineup.
   * 
* * optional int64 channel_count_upper_bound = 4; * @return The channelCountUpperBound. */ @java.lang.Override public long getChannelCountUpperBound() { return channelCountUpperBound_; } 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 (inventoryCountry_ != null) { output.writeMessage(1, getInventoryCountry()); } if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(2, medianMonthlyInventory_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(3, channelCountLowerBound_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(4, channelCountUpperBound_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (inventoryCountry_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getInventoryCountry()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, medianMonthlyInventory_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, channelCountLowerBound_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, channelCountUpperBound_); } 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.v13.services.DynamicLineupAttributeMetadata)) { return super.equals(obj); } com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata other = (com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata) obj; if (hasInventoryCountry() != other.hasInventoryCountry()) return false; if (hasInventoryCountry()) { if (!getInventoryCountry() .equals(other.getInventoryCountry())) return false; } if (hasMedianMonthlyInventory() != other.hasMedianMonthlyInventory()) return false; if (hasMedianMonthlyInventory()) { if (getMedianMonthlyInventory() != other.getMedianMonthlyInventory()) return false; } if (hasChannelCountLowerBound() != other.hasChannelCountLowerBound()) return false; if (hasChannelCountLowerBound()) { if (getChannelCountLowerBound() != other.getChannelCountLowerBound()) return false; } if (hasChannelCountUpperBound() != other.hasChannelCountUpperBound()) return false; if (hasChannelCountUpperBound()) { if (getChannelCountUpperBound() != other.getChannelCountUpperBound()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInventoryCountry()) { hash = (37 * hash) + INVENTORY_COUNTRY_FIELD_NUMBER; hash = (53 * hash) + getInventoryCountry().hashCode(); } if (hasMedianMonthlyInventory()) { hash = (37 * hash) + MEDIAN_MONTHLY_INVENTORY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMedianMonthlyInventory()); } if (hasChannelCountLowerBound()) { hash = (37 * hash) + CHANNEL_COUNT_LOWER_BOUND_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getChannelCountLowerBound()); } if (hasChannelCountUpperBound()) { hash = (37 * hash) + CHANNEL_COUNT_UPPER_BOUND_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getChannelCountUpperBound()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata 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.v13.services.DynamicLineupAttributeMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata 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.v13.services.DynamicLineupAttributeMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata 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.v13.services.DynamicLineupAttributeMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata 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.v13.services.DynamicLineupAttributeMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata 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.v13.services.DynamicLineupAttributeMetadata 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; } /** *
   * Metadata associated with a Dynamic Lineup attribute.
   * 
* * Protobuf type {@code google.ads.googleads.v13.services.DynamicLineupAttributeMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v13.services.DynamicLineupAttributeMetadata) com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v13.services.AudienceInsightsServiceProto.internal_static_google_ads_googleads_v13_services_DynamicLineupAttributeMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v13.services.AudienceInsightsServiceProto.internal_static_google_ads_googleads_v13_services_DynamicLineupAttributeMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata.class, com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata.Builder.class); } // Construct using com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; inventoryCountry_ = null; if (inventoryCountryBuilder_ != null) { inventoryCountryBuilder_.dispose(); inventoryCountryBuilder_ = null; } medianMonthlyInventory_ = 0L; channelCountLowerBound_ = 0L; channelCountUpperBound_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v13.services.AudienceInsightsServiceProto.internal_static_google_ads_googleads_v13_services_DynamicLineupAttributeMetadata_descriptor; } @java.lang.Override public com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata getDefaultInstanceForType() { return com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata build() { com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata buildPartial() { com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata result = new com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.inventoryCountry_ = inventoryCountryBuilder_ == null ? inventoryCountry_ : inventoryCountryBuilder_.build(); } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.medianMonthlyInventory_ = medianMonthlyInventory_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.channelCountLowerBound_ = channelCountLowerBound_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.channelCountUpperBound_ = channelCountUpperBound_; to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @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.v13.services.DynamicLineupAttributeMetadata) { return mergeFrom((com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata other) { if (other == com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata.getDefaultInstance()) return this; if (other.hasInventoryCountry()) { mergeInventoryCountry(other.getInventoryCountry()); } if (other.hasMedianMonthlyInventory()) { setMedianMonthlyInventory(other.getMedianMonthlyInventory()); } if (other.hasChannelCountLowerBound()) { setChannelCountLowerBound(other.getChannelCountLowerBound()); } if (other.hasChannelCountUpperBound()) { setChannelCountUpperBound(other.getChannelCountUpperBound()); } 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: { input.readMessage( getInventoryCountryFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { medianMonthlyInventory_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { channelCountLowerBound_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { channelCountUpperBound_ = input.readInt64(); bitField0_ |= 0x00000008; break; } // case 32 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 com.google.ads.googleads.v13.common.LocationInfo inventoryCountry_; private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v13.common.LocationInfo, com.google.ads.googleads.v13.common.LocationInfo.Builder, com.google.ads.googleads.v13.common.LocationInfoOrBuilder> inventoryCountryBuilder_; /** *
     * The national market associated with the lineup.
     * 
* * .google.ads.googleads.v13.common.LocationInfo inventory_country = 1; * @return Whether the inventoryCountry field is set. */ public boolean hasInventoryCountry() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The national market associated with the lineup.
     * 
* * .google.ads.googleads.v13.common.LocationInfo inventory_country = 1; * @return The inventoryCountry. */ public com.google.ads.googleads.v13.common.LocationInfo getInventoryCountry() { if (inventoryCountryBuilder_ == null) { return inventoryCountry_ == null ? com.google.ads.googleads.v13.common.LocationInfo.getDefaultInstance() : inventoryCountry_; } else { return inventoryCountryBuilder_.getMessage(); } } /** *
     * The national market associated with the lineup.
     * 
* * .google.ads.googleads.v13.common.LocationInfo inventory_country = 1; */ public Builder setInventoryCountry(com.google.ads.googleads.v13.common.LocationInfo value) { if (inventoryCountryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } inventoryCountry_ = value; } else { inventoryCountryBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The national market associated with the lineup.
     * 
* * .google.ads.googleads.v13.common.LocationInfo inventory_country = 1; */ public Builder setInventoryCountry( com.google.ads.googleads.v13.common.LocationInfo.Builder builderForValue) { if (inventoryCountryBuilder_ == null) { inventoryCountry_ = builderForValue.build(); } else { inventoryCountryBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The national market associated with the lineup.
     * 
* * .google.ads.googleads.v13.common.LocationInfo inventory_country = 1; */ public Builder mergeInventoryCountry(com.google.ads.googleads.v13.common.LocationInfo value) { if (inventoryCountryBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && inventoryCountry_ != null && inventoryCountry_ != com.google.ads.googleads.v13.common.LocationInfo.getDefaultInstance()) { getInventoryCountryBuilder().mergeFrom(value); } else { inventoryCountry_ = value; } } else { inventoryCountryBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The national market associated with the lineup.
     * 
* * .google.ads.googleads.v13.common.LocationInfo inventory_country = 1; */ public Builder clearInventoryCountry() { bitField0_ = (bitField0_ & ~0x00000001); inventoryCountry_ = null; if (inventoryCountryBuilder_ != null) { inventoryCountryBuilder_.dispose(); inventoryCountryBuilder_ = null; } onChanged(); return this; } /** *
     * The national market associated with the lineup.
     * 
* * .google.ads.googleads.v13.common.LocationInfo inventory_country = 1; */ public com.google.ads.googleads.v13.common.LocationInfo.Builder getInventoryCountryBuilder() { bitField0_ |= 0x00000001; onChanged(); return getInventoryCountryFieldBuilder().getBuilder(); } /** *
     * The national market associated with the lineup.
     * 
* * .google.ads.googleads.v13.common.LocationInfo inventory_country = 1; */ public com.google.ads.googleads.v13.common.LocationInfoOrBuilder getInventoryCountryOrBuilder() { if (inventoryCountryBuilder_ != null) { return inventoryCountryBuilder_.getMessageOrBuilder(); } else { return inventoryCountry_ == null ? com.google.ads.googleads.v13.common.LocationInfo.getDefaultInstance() : inventoryCountry_; } } /** *
     * The national market associated with the lineup.
     * 
* * .google.ads.googleads.v13.common.LocationInfo inventory_country = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v13.common.LocationInfo, com.google.ads.googleads.v13.common.LocationInfo.Builder, com.google.ads.googleads.v13.common.LocationInfoOrBuilder> getInventoryCountryFieldBuilder() { if (inventoryCountryBuilder_ == null) { inventoryCountryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v13.common.LocationInfo, com.google.ads.googleads.v13.common.LocationInfo.Builder, com.google.ads.googleads.v13.common.LocationInfoOrBuilder>( getInventoryCountry(), getParentForChildren(), isClean()); inventoryCountry_ = null; } return inventoryCountryBuilder_; } private long medianMonthlyInventory_ ; /** *
     * The median number of impressions per month on this lineup.
     * 
* * optional int64 median_monthly_inventory = 2; * @return Whether the medianMonthlyInventory field is set. */ @java.lang.Override public boolean hasMedianMonthlyInventory() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The median number of impressions per month on this lineup.
     * 
* * optional int64 median_monthly_inventory = 2; * @return The medianMonthlyInventory. */ @java.lang.Override public long getMedianMonthlyInventory() { return medianMonthlyInventory_; } /** *
     * The median number of impressions per month on this lineup.
     * 
* * optional int64 median_monthly_inventory = 2; * @param value The medianMonthlyInventory to set. * @return This builder for chaining. */ public Builder setMedianMonthlyInventory(long value) { medianMonthlyInventory_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The median number of impressions per month on this lineup.
     * 
* * optional int64 median_monthly_inventory = 2; * @return This builder for chaining. */ public Builder clearMedianMonthlyInventory() { bitField0_ = (bitField0_ & ~0x00000002); medianMonthlyInventory_ = 0L; onChanged(); return this; } private long channelCountLowerBound_ ; /** *
     * The lower end of a range containing the number of channels in the lineup.
     * 
* * optional int64 channel_count_lower_bound = 3; * @return Whether the channelCountLowerBound field is set. */ @java.lang.Override public boolean hasChannelCountLowerBound() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * The lower end of a range containing the number of channels in the lineup.
     * 
* * optional int64 channel_count_lower_bound = 3; * @return The channelCountLowerBound. */ @java.lang.Override public long getChannelCountLowerBound() { return channelCountLowerBound_; } /** *
     * The lower end of a range containing the number of channels in the lineup.
     * 
* * optional int64 channel_count_lower_bound = 3; * @param value The channelCountLowerBound to set. * @return This builder for chaining. */ public Builder setChannelCountLowerBound(long value) { channelCountLowerBound_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * The lower end of a range containing the number of channels in the lineup.
     * 
* * optional int64 channel_count_lower_bound = 3; * @return This builder for chaining. */ public Builder clearChannelCountLowerBound() { bitField0_ = (bitField0_ & ~0x00000004); channelCountLowerBound_ = 0L; onChanged(); return this; } private long channelCountUpperBound_ ; /** *
     * The upper end of a range containing the number of channels in the lineup.
     * 
* * optional int64 channel_count_upper_bound = 4; * @return Whether the channelCountUpperBound field is set. */ @java.lang.Override public boolean hasChannelCountUpperBound() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * The upper end of a range containing the number of channels in the lineup.
     * 
* * optional int64 channel_count_upper_bound = 4; * @return The channelCountUpperBound. */ @java.lang.Override public long getChannelCountUpperBound() { return channelCountUpperBound_; } /** *
     * The upper end of a range containing the number of channels in the lineup.
     * 
* * optional int64 channel_count_upper_bound = 4; * @param value The channelCountUpperBound to set. * @return This builder for chaining. */ public Builder setChannelCountUpperBound(long value) { channelCountUpperBound_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * The upper end of a range containing the number of channels in the lineup.
     * 
* * optional int64 channel_count_upper_bound = 4; * @return This builder for chaining. */ public Builder clearChannelCountUpperBound() { bitField0_ = (bitField0_ & ~0x00000008); channelCountUpperBound_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v13.services.DynamicLineupAttributeMetadata) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v13.services.DynamicLineupAttributeMetadata) private static final com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata(); } public static com.google.ads.googleads.v13.services.DynamicLineupAttributeMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DynamicLineupAttributeMetadata 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.v13.services.DynamicLineupAttributeMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy