Class WarningCount.Builder (0.6.0)

public static final class WarningCount.Builder extends GeneratedMessage.Builder<WarningCount.Builder> implements WarningCountOrBuilder

The warning count for a given warning reason.

Protobuf type google.ads.datamanager.v1.WarningCount

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

setReason(ProcessingWarningReason value)

public WarningCount.Builder setReason(ProcessingWarningReason value)

The warning reason.

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

Parameter
Name Description
value ProcessingWarningReason

The 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 int

The 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 long

The recordCount to set.

Returns
Type Description
WarningCount.Builder

This builder for chaining.