Class WarningCount.Builder (0.1.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public WarningCount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public WarningCount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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