Class ErrorInfo.Builder (0.1.0)

public static final class ErrorInfo.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ErrorInfo.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ErrorInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ErrorInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ErrorInfo.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ErrorInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ErrorInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ErrorInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ErrorInfo.Builder
Overrides