Class WarningInfo.Builder (0.2.0)
Version 0.2.0keyboard_arrow_down
public static final class WarningInfo . Builder extends GeneratedMessageV3 . Builder<WarningInfo . Builder > implements WarningInfoOrBuilder
Warning counts for each type of warning.
Protobuf type google.ads.datamanager.v1.WarningInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllWarningCounts(Iterable<? extends WarningCount> values)
public WarningInfo . Builder addAllWarningCounts ( Iterable <? extends WarningCount > values )
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.ads.datamanager.v1.WarningCount >
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WarningInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addWarningCounts(WarningCount value)
public WarningInfo . Builder addWarningCounts ( WarningCount value )
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
addWarningCounts(WarningCount.Builder builderForValue)
public WarningInfo . Builder addWarningCounts ( WarningCount . Builder builderForValue )
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
addWarningCounts(int index, WarningCount value)
public WarningInfo . Builder addWarningCounts ( int index , WarningCount value )
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
addWarningCounts(int index, WarningCount.Builder builderForValue)
public WarningInfo . Builder addWarningCounts ( int index , WarningCount . Builder builderForValue )
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
addWarningCountsBuilder()
public WarningCount . Builder addWarningCountsBuilder ()
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
addWarningCountsBuilder(int index)
public WarningCount . Builder addWarningCountsBuilder ( int index )
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
Parameter
Name
Description
index
int
build()
public WarningInfo build ()
buildPartial()
public WarningInfo buildPartial ()
clear()
public WarningInfo . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public WarningInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WarningInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearWarningCounts()
public WarningInfo . Builder clearWarningCounts ()
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
clone()
public WarningInfo . Builder clone ()
Overrides
getDefaultInstanceForType()
public WarningInfo getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getWarningCounts(int index)
public WarningCount getWarningCounts ( int index )
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
Parameter
Name
Description
index
int
getWarningCountsBuilder(int index)
public WarningCount . Builder getWarningCountsBuilder ( int index )
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
Parameter
Name
Description
index
int
getWarningCountsBuilderList()
public List<WarningCount . Builder > getWarningCountsBuilderList ()
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
getWarningCountsCount()
public int getWarningCountsCount ()
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
Returns
Type
Description
int
getWarningCountsList()
public List<WarningCount> getWarningCountsList ()
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
getWarningCountsOrBuilder(int index)
public WarningCountOrBuilder getWarningCountsOrBuilder ( int index )
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
Parameter
Name
Description
index
int
getWarningCountsOrBuilderList()
public List <? extends WarningCountOrBuilder > getWarningCountsOrBuilderList ()
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
Returns
Type
Description
List <? extends com.google.ads.datamanager.v1.WarningCountOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(WarningInfo other)
public WarningInfo . Builder mergeFrom ( WarningInfo other )
public WarningInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public WarningInfo . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WarningInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeWarningCounts(int index)
public WarningInfo . Builder removeWarningCounts ( int index )
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
Parameter
Name
Description
index
int
setField(Descriptors.FieldDescriptor field, Object value)
public WarningInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WarningInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WarningInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setWarningCounts(int index, WarningCount value)
public WarningInfo . Builder setWarningCounts ( int index , WarningCount value )
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
setWarningCounts(int index, WarningCount.Builder builderForValue)
public WarningInfo . Builder setWarningCounts ( int index , WarningCount . Builder builderForValue )
A list of warnings and counts per warning reason.
repeated .google.ads.datamanager.v1.WarningCount warning_counts = 1;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-09 UTC."],[],[]]