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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
public Int64Array.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
public Int64Array build()
Returns
public Int64Array buildPartial()
Returns
public Int64Array.Builder clear()
Returns
Overrides
public Int64Array.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Int64Array.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Int64Array.Builder clearValues()
A list of int64 values.
repeated int64 values = 1;
Returns
public Int64Array.Builder clone()
Returns
Overrides
public Int64Array getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
public int getValuesCount()
A list of int64 values.
repeated int64 values = 1;
Returns
Type | Description |
int | The count of values.
|
public List<Long> getValuesList()
A list of int64 values.
repeated int64 values = 1;
Returns
Type | Description |
List<Long> | A list containing the values.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Int64Array.Builder mergeFrom(Int64Array other)
Parameter
Returns
public Int64Array.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Int64Array.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final Int64Array.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Int64Array.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Int64Array.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final Int64Array.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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