public static final class ErrorCount.Builder extends GeneratedMessage.Builder<ErrorCount.Builder> implements ErrorCountOrBuilderThe error count for a given error reason.
Protobuf type google.ads.datamanager.v1.ErrorCount
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ErrorCount.BuilderImplements
ErrorCountOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public ErrorCount getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ErrorCount |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ErrorCount.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ErrorCount.Builder |
|
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 |
ProcessingErrorReasonThe 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 |
intThe 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 |
longThe recordCount to set. |
| Returns | |
|---|---|
| Type | Description |
ErrorCount.Builder |
This builder for chaining. |