Class Int64Array.Builder (3.44.0)

public static final class Int64Array.Builder extends GeneratedMessageV3.Builder<Int64Array.Builder> implements Int64ArrayOrBuilder

A list of int64 values.

Protobuf type google.cloud.aiplatform.v1beta1.Int64Array

Implements

Int64ArrayOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<? extends Long> values)

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

A list of int64 values.

repeated int64 values = 1;

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

The values to add.

Returns
Type Description
Int64Array.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValues(long value)

public Int64Array.Builder addValues(long value)

A list of int64 values.

repeated int64 values = 1;

Parameter
Name Description
value long

The values to add.

Returns
Type Description
Int64Array.Builder

This builder for chaining.

build()

public Int64Array build()
Returns
Type Description
Int64Array

buildPartial()

public Int64Array buildPartial()
Returns
Type Description
Int64Array

clear()

public Int64Array.Builder clear()
Returns
Type Description
Int64Array.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Int64Array.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Int64Array.Builder
Overrides

clearValues()

public Int64Array.Builder clearValues()

A list of int64 values.

repeated int64 values = 1;

Returns
Type Description
Int64Array.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Int64Array getDefaultInstanceForType()
Returns
Type Description
Int64Array

getDescriptorForType()

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

getValues(int index)

public long getValues(int index)

A list of int64 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()

A list of int64 values.

repeated int64 values = 1;

Returns
Type Description
int

The count of values.

getValuesList()

public List<Long> getValuesList()

A list of int64 values.

repeated int64 values = 1;

Returns
Type Description
List<Long>

A list containing the values.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Int64Array other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValues(int index, long value)

public Int64Array.Builder setValues(int index, long value)

A list of int64 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
Int64Array.Builder

This builder for chaining.