Class ErrorCount.Builder (0.1.0)

public static final class ErrorCount.Builder extends GeneratedMessageV3.Builder<ErrorCount.Builder> implements ErrorCountOrBuilder

The error count for a given error reason.

Protobuf type google.ads.datamanager.v1.ErrorCount

Implements

ErrorCountOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ErrorCount build()
Returns
Type Description
ErrorCount

buildPartial()

public ErrorCount buildPartial()
Returns
Type Description
ErrorCount

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReason()

public ErrorCount.Builder clearReason()

The error reason of the failed records.

.google.ads.datamanager.v1.ProcessingErrorReason reason = 2;

Returns
Type Description
ErrorCount.Builder

This builder for chaining.

clearRecordCount()

public ErrorCount.Builder clearRecordCount()

The count of records that failed to upload for a given reason.

int64 record_count = 1;

Returns
Type Description
ErrorCount.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ErrorCount getDefaultInstanceForType()
Returns
Type Description
ErrorCount

getDescriptorForType()

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

getReason()

public ProcessingErrorReason getReason()

The error reason of the failed records.

.google.ads.datamanager.v1.ProcessingErrorReason reason = 2;

Returns
Type Description
ProcessingErrorReason

The reason.

getReasonValue()

public int getReasonValue()

The error reason of the failed records.

.google.ads.datamanager.v1.ProcessingErrorReason reason = 2;

Returns
Type Description
int

The enum numeric value on the wire for reason.

getRecordCount()

public long getRecordCount()

The count of records that failed to upload for a given reason.

int64 record_count = 1;

Returns
Type Description
long

The recordCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ErrorCount other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorCount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ErrorCount.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setReason(ProcessingErrorReason value)

public ErrorCount.Builder setReason(ProcessingErrorReason value)

The error reason of the failed records.

.google.ads.datamanager.v1.ProcessingErrorReason reason = 2;

Parameter
Name Description
value ProcessingErrorReason

The reason to set.

Returns
Type Description
ErrorCount.Builder

This builder for chaining.

setReasonValue(int value)

public ErrorCount.Builder setReasonValue(int value)

The error reason of the failed records.

.google.ads.datamanager.v1.ProcessingErrorReason reason = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for reason to set.

Returns
Type Description
ErrorCount.Builder

This builder for chaining.

setRecordCount(long value)

public ErrorCount.Builder setRecordCount(long value)

The count of records that failed to upload for a given reason.

int64 record_count = 1;

Parameter
Name Description
value long

The recordCount to set.

Returns
Type Description
ErrorCount.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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