public static final class Uint64Sequence.Builder extends GeneratedMessage.Builder<Uint64Sequence.Builder> implements Uint64SequenceOrBuilderUint64Sequence represents a sequence of uint64s.
Protobuf type google.backstory.Uint64Sequence
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Uint64Sequence.BuilderImplements
Uint64SequenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllUint64Vals(Iterable<? extends Long> values)
public Uint64Sequence.Builder addAllUint64Vals(Iterable<? extends Long> values)uint64 sequence.
repeated uint64 uint64_vals = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends java.lang.Long>The uint64Vals to add. |
| Returns | |
|---|---|
| Type | Description |
Uint64Sequence.Builder |
This builder for chaining. |
addUint64Vals(long value)
public Uint64Sequence.Builder addUint64Vals(long value)uint64 sequence.
repeated uint64 uint64_vals = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe uint64Vals to add. |
| Returns | |
|---|---|
| Type | Description |
Uint64Sequence.Builder |
This builder for chaining. |
build()
public Uint64Sequence build()| Returns | |
|---|---|
| Type | Description |
Uint64Sequence |
|
buildPartial()
public Uint64Sequence buildPartial()| Returns | |
|---|---|
| Type | Description |
Uint64Sequence |
|
clear()
public Uint64Sequence.Builder clear()| Returns | |
|---|---|
| Type | Description |
Uint64Sequence.Builder |
|
clearUint64Vals()
public Uint64Sequence.Builder clearUint64Vals()uint64 sequence.
repeated uint64 uint64_vals = 1;
| Returns | |
|---|---|
| Type | Description |
Uint64Sequence.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Uint64Sequence getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Uint64Sequence |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUint64Vals(int index)
public long getUint64Vals(int index)uint64 sequence.
repeated uint64 uint64_vals = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
long |
The uint64Vals at the given index. |
getUint64ValsCount()
public int getUint64ValsCount()uint64 sequence.
repeated uint64 uint64_vals = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of uint64Vals. |
getUint64ValsList()
public List<Long> getUint64ValsList()uint64 sequence.
repeated uint64 uint64_vals = 1;
| Returns | |
|---|---|
| Type | Description |
List<Long> |
A list containing the uint64Vals. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Uint64Sequence other)
public Uint64Sequence.Builder mergeFrom(Uint64Sequence other)| Parameter | |
|---|---|
| Name | Description |
other |
Uint64Sequence |
| Returns | |
|---|---|
| Type | Description |
Uint64Sequence.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Uint64Sequence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Uint64Sequence.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Uint64Sequence.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Uint64Sequence.Builder |
|
setUint64Vals(int index, long value)
public Uint64Sequence.Builder setUint64Vals(int index, long value)uint64 sequence.
repeated uint64 uint64_vals = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
longThe uint64Vals to set. |
| Returns | |
|---|---|
| Type | Description |
Uint64Sequence.Builder |
This builder for chaining. |