Class Int64Array.Builder (3.38.0)

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

A list of int64 values.

Protobuf type google.cloud.aiplatform.v1.Int64Array

Implements

Int64ArrayOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends java.lang.Long>

The values to add.

Returns
TypeDescription
Int64Array.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Int64Array.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Int64Array.Builder
Overrides

addValues(long value)

public Int64Array.Builder addValues(long value)

A list of int64 values.

repeated int64 values = 1;

Parameter
NameDescription
valuelong

The values to add.

Returns
TypeDescription
Int64Array.Builder

This builder for chaining.

build()

public Int64Array build()
Returns
TypeDescription
Int64Array

buildPartial()

public Int64Array buildPartial()
Returns
TypeDescription
Int64Array

clear()

public Int64Array.Builder clear()
Returns
TypeDescription
Int64Array.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Int64Array.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Int64Array.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Int64Array.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Int64Array.Builder
Overrides

clearValues()

public Int64Array.Builder clearValues()

A list of int64 values.

repeated int64 values = 1;

Returns
TypeDescription
Int64Array.Builder

This builder for chaining.

clone()

public Int64Array.Builder clone()
Returns
TypeDescription
Int64Array.Builder
Overrides

getDefaultInstanceForType()

public Int64Array getDefaultInstanceForType()
Returns
TypeDescription
Int64Array

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValues(int index)

public long getValues(int index)

A list of int64 values.

repeated int64 values = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
long

The values at the given index.

getValuesCount()

public int getValuesCount()

A list of int64 values.

repeated int64 values = 1;

Returns
TypeDescription
int

The count of values.

getValuesList()

public List<Long> getValuesList()

A list of int64 values.

repeated int64 values = 1;

Returns
TypeDescription
List<Long>

A list containing the values.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Int64Array other)

public Int64Array.Builder mergeFrom(Int64Array other)
Parameter
NameDescription
otherInt64Array
Returns
TypeDescription
Int64Array.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Int64Array.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Int64Array.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Int64Array.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Int64Array.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Int64Array.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Int64Array.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Int64Array.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Int64Array.Builder
Overrides

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

public Int64Array.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Int64Array.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Int64Array.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valuelong

The values to set.

Returns
TypeDescription
Int64Array.Builder

This builder for chaining.