Class ErrorInfo.Builder (0.6.0)

public static final class ErrorInfo.Builder extends GeneratedMessage.Builder<ErrorInfo.Builder> implements ErrorInfoOrBuilder

Error counts for each type of error.

Protobuf type google.ads.datamanager.v1.ErrorInfo

Implements

ErrorInfoOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllErrorCounts(Iterable<? extends ErrorCount> values)

public ErrorInfo.Builder addAllErrorCounts(Iterable<? extends ErrorCount> values)

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Parameter
Name Description
values Iterable<? extends com.google.ads.datamanager.v1.ErrorCount>
Returns
Type Description
ErrorInfo.Builder

addErrorCounts(ErrorCount value)

public ErrorInfo.Builder addErrorCounts(ErrorCount value)

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Parameter
Name Description
value ErrorCount
Returns
Type Description
ErrorInfo.Builder

addErrorCounts(ErrorCount.Builder builderForValue)

public ErrorInfo.Builder addErrorCounts(ErrorCount.Builder builderForValue)

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Parameter
Name Description
builderForValue ErrorCount.Builder
Returns
Type Description
ErrorInfo.Builder

addErrorCounts(int index, ErrorCount value)

public ErrorInfo.Builder addErrorCounts(int index, ErrorCount value)

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Parameters
Name Description
index int
value ErrorCount
Returns
Type Description
ErrorInfo.Builder

addErrorCounts(int index, ErrorCount.Builder builderForValue)

public ErrorInfo.Builder addErrorCounts(int index, ErrorCount.Builder builderForValue)

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Parameters
Name Description
index int
builderForValue ErrorCount.Builder
Returns
Type Description
ErrorInfo.Builder

addErrorCountsBuilder()

public ErrorCount.Builder addErrorCountsBuilder()

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Returns
Type Description
ErrorCount.Builder

addErrorCountsBuilder(int index)

public ErrorCount.Builder addErrorCountsBuilder(int index)

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorCount.Builder

build()

public ErrorInfo build()
Returns
Type Description
ErrorInfo

buildPartial()

public ErrorInfo buildPartial()
Returns
Type Description
ErrorInfo

clear()

public ErrorInfo.Builder clear()
Returns
Type Description
ErrorInfo.Builder
Overrides

clearErrorCounts()

public ErrorInfo.Builder clearErrorCounts()

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Returns
Type Description
ErrorInfo.Builder

getDefaultInstanceForType()

public ErrorInfo getDefaultInstanceForType()
Returns
Type Description
ErrorInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrorCounts(int index)

public ErrorCount getErrorCounts(int index)

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorCount

getErrorCountsBuilder(int index)

public ErrorCount.Builder getErrorCountsBuilder(int index)

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorCount.Builder

getErrorCountsBuilderList()

public List<ErrorCount.Builder> getErrorCountsBuilderList()

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Returns
Type Description
List<Builder>

getErrorCountsCount()

public int getErrorCountsCount()

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Returns
Type Description
int

getErrorCountsList()

public List<ErrorCount> getErrorCountsList()

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Returns
Type Description
List<ErrorCount>

getErrorCountsOrBuilder(int index)

public ErrorCountOrBuilder getErrorCountsOrBuilder(int index)

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorCountOrBuilder

getErrorCountsOrBuilderList()

public List<? extends ErrorCountOrBuilder> getErrorCountsOrBuilderList()

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Returns
Type Description
List<? extends com.google.ads.datamanager.v1.ErrorCountOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ErrorInfo other)

public ErrorInfo.Builder mergeFrom(ErrorInfo other)
Parameter
Name Description
other ErrorInfo
Returns
Type Description
ErrorInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ErrorInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ErrorInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ErrorInfo.Builder
Overrides

removeErrorCounts(int index)

public ErrorInfo.Builder removeErrorCounts(int index)

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorInfo.Builder

setErrorCounts(int index, ErrorCount value)

public ErrorInfo.Builder setErrorCounts(int index, ErrorCount value)

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Parameters
Name Description
index int
value ErrorCount
Returns
Type Description
ErrorInfo.Builder

setErrorCounts(int index, ErrorCount.Builder builderForValue)

public ErrorInfo.Builder setErrorCounts(int index, ErrorCount.Builder builderForValue)

A list of errors and counts per error reason. May not be populated in all cases.

repeated .google.ads.datamanager.v1.ErrorCount error_counts = 1;

Parameters
Name Description
index int
builderForValue ErrorCount.Builder
Returns
Type Description
ErrorInfo.Builder