Class ReportValue.IntList.Builder (0.44.0)

public static final class ReportValue.IntList.Builder extends GeneratedMessage.Builder<ReportValue.IntList.Builder> implements ReportValue.IntListOrBuilder

A list of integer values.

Protobuf type google.ads.admanager.v1.ReportValue.IntList

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<? extends Long> values)

public ReportValue.IntList.Builder addAllValues(Iterable<? extends Long> values)

The values

repeated int64 values = 1;

Parameter
Name Description
values Iterable<? extends java.lang.Long>

The values to add.

Returns
Type Description
ReportValue.IntList.Builder

This builder for chaining.

addValues(long value)

public ReportValue.IntList.Builder addValues(long value)

The values

repeated int64 values = 1;

Parameter
Name Description
value long

The values to add.

Returns
Type Description
ReportValue.IntList.Builder

This builder for chaining.

build()

public ReportValue.IntList build()
Returns
Type Description
ReportValue.IntList

buildPartial()

public ReportValue.IntList buildPartial()
Returns
Type Description
ReportValue.IntList

clear()

public ReportValue.IntList.Builder clear()
Returns
Type Description
ReportValue.IntList.Builder
Overrides

clearValues()

public ReportValue.IntList.Builder clearValues()

The values

repeated int64 values = 1;

Returns
Type Description
ReportValue.IntList.Builder

This builder for chaining.

getDefaultInstanceForType()

public ReportValue.IntList getDefaultInstanceForType()
Returns
Type Description
ReportValue.IntList

getDescriptorForType()

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

getValues(int index)

public long getValues(int index)

The values

repeated int64 values = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The values at the given index.

getValuesCount()

public int getValuesCount()

The values

repeated int64 values = 1;

Returns
Type Description
int

The count of values.

getValuesList()

public List<Long> getValuesList()

The values

repeated int64 values = 1;

Returns
Type Description
List<Long>

A list containing the values.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportValue.IntList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setValues(int index, long value)

public ReportValue.IntList.Builder setValues(int index, long value)

The values

repeated int64 values = 1;

Parameters
Name Description
index int

The index to set the value at.

value long

The values to set.

Returns
Type Description
ReportValue.IntList.Builder

This builder for chaining.