public static final class ReportValue.IntList.Builder extends GeneratedMessage.Builder<ReportValue.IntList.Builder> implements ReportValue.IntListOrBuilderA list of integer values.
Protobuf type google.ads.admanager.v1.ReportValue.IntList
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReportValue.IntList.BuilderImplements
ReportValue.IntListOrBuilderStatic 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 |
longThe 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 |
|
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 |
|
getValues(int index)
public long getValues(int index)The values
repeated int64 values = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
setValues(int index, long value)
public ReportValue.IntList.Builder setValues(int index, long value)The values
repeated int64 values = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
longThe values to set. |
| Returns | |
|---|---|
| Type | Description |
ReportValue.IntList.Builder |
This builder for chaining. |