public static final class WarningCount.Builder extends GeneratedMessage.Builder<WarningCount.Builder> implements WarningCountOrBuilderThe warning count for a given warning reason.
Protobuf type google.ads.datamanager.v1.WarningCount
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WarningCount.BuilderImplements
WarningCountOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public WarningCount build()| Returns | |
|---|---|
| Type | Description |
WarningCount |
|
buildPartial()
public WarningCount buildPartial()| Returns | |
|---|---|
| Type | Description |
WarningCount |
|
clear()
public WarningCount.Builder clear()| Returns | |
|---|---|
| Type | Description |
WarningCount.Builder |
|
clearReason()
public WarningCount.Builder clearReason()The warning reason.
.google.ads.datamanager.v1.ProcessingWarningReason reason = 2;
| Returns | |
|---|---|
| Type | Description |
WarningCount.Builder |
This builder for chaining. |
clearRecordCount()
public WarningCount.Builder clearRecordCount()The count of records that have a warning.
int64 record_count = 1;
| Returns | |
|---|---|
| Type | Description |
WarningCount.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public WarningCount getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WarningCount |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getReason()
public ProcessingWarningReason getReason()The warning reason.
.google.ads.datamanager.v1.ProcessingWarningReason reason = 2;
| Returns | |
|---|---|
| Type | Description |
ProcessingWarningReason |
The reason. |
getReasonValue()
public int getReasonValue()The warning reason.
.google.ads.datamanager.v1.ProcessingWarningReason reason = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for reason. |
getRecordCount()
public long getRecordCount()The count of records that have a warning.
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(WarningCount other)
public WarningCount.Builder mergeFrom(WarningCount other)| Parameter | |
|---|---|
| Name | Description |
other |
WarningCount |
| Returns | |
|---|---|
| Type | Description |
WarningCount.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WarningCount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WarningCount.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WarningCount.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WarningCount.Builder |
|
setReason(ProcessingWarningReason value)
public WarningCount.Builder setReason(ProcessingWarningReason value)The warning reason.
.google.ads.datamanager.v1.ProcessingWarningReason reason = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ProcessingWarningReasonThe reason to set. |
| Returns | |
|---|---|
| Type | Description |
WarningCount.Builder |
This builder for chaining. |
setReasonValue(int value)
public WarningCount.Builder setReasonValue(int value)The warning reason.
.google.ads.datamanager.v1.ProcessingWarningReason reason = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for reason to set. |
| Returns | |
|---|---|
| Type | Description |
WarningCount.Builder |
This builder for chaining. |
setRecordCount(long value)
public WarningCount.Builder setRecordCount(long value)The count of records that have a warning.
int64 record_count = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe recordCount to set. |
| Returns | |
|---|---|
| Type | Description |
WarningCount.Builder |
This builder for chaining. |