public static final class Int64Sequence.Builder extends GeneratedMessage.Builder<Int64Sequence.Builder> implements Int64SequenceOrBuilderInt64Sequence represents a sequence of int64s.
Protobuf type google.backstory.Int64Sequence
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Int64Sequence.BuilderImplements
Int64SequenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllInt64Vals(Iterable<? extends Long> values)
public Int64Sequence.Builder addAllInt64Vals(Iterable<? extends Long> values)int64 sequence.
repeated int64 int64_vals = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends java.lang.Long>The int64Vals to add. |
| Returns | |
|---|---|
| Type | Description |
Int64Sequence.Builder |
This builder for chaining. |
addInt64Vals(long value)
public Int64Sequence.Builder addInt64Vals(long value)int64 sequence.
repeated int64 int64_vals = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe int64Vals to add. |
| Returns | |
|---|---|
| Type | Description |
Int64Sequence.Builder |
This builder for chaining. |
build()
public Int64Sequence build()| Returns | |
|---|---|
| Type | Description |
Int64Sequence |
|
buildPartial()
public Int64Sequence buildPartial()| Returns | |
|---|---|
| Type | Description |
Int64Sequence |
|
clear()
public Int64Sequence.Builder clear()| Returns | |
|---|---|
| Type | Description |
Int64Sequence.Builder |
|
clearInt64Vals()
public Int64Sequence.Builder clearInt64Vals()int64 sequence.
repeated int64 int64_vals = 1;
| Returns | |
|---|---|
| Type | Description |
Int64Sequence.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Int64Sequence getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Int64Sequence |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInt64Vals(int index)
public long getInt64Vals(int index)int64 sequence.
repeated int64 int64_vals = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
long |
The int64Vals at the given index. |
getInt64ValsCount()
public int getInt64ValsCount()int64 sequence.
repeated int64 int64_vals = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of int64Vals. |
getInt64ValsList()
public List<Long> getInt64ValsList()int64 sequence.
repeated int64 int64_vals = 1;
| Returns | |
|---|---|
| Type | Description |
List<Long> |
A list containing the int64Vals. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Int64Sequence other)
public Int64Sequence.Builder mergeFrom(Int64Sequence other)| Parameter | |
|---|---|
| Name | Description |
other |
Int64Sequence |
| Returns | |
|---|---|
| Type | Description |
Int64Sequence.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Int64Sequence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Int64Sequence.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Int64Sequence.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Int64Sequence.Builder |
|
setInt64Vals(int index, long value)
public Int64Sequence.Builder setInt64Vals(int index, long value)int64 sequence.
repeated int64 int64_vals = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
longThe int64Vals to set. |
| Returns | |
|---|---|
| Type | Description |
Int64Sequence.Builder |
This builder for chaining. |