public static final class BoolArray.Builder extends GeneratedMessage.Builder<BoolArray.Builder> implements BoolArrayOrBuilderA list of boolean values.
Protobuf type google.cloud.vertexai.v1.BoolArray
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BoolArray.BuilderImplements
BoolArrayOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllValues(Iterable<? extends Boolean> values)
public BoolArray.Builder addAllValues(Iterable<? extends Boolean> values)A list of bool values.
repeated bool values = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends java.lang.Boolean>The values to add. |
| Returns | |
|---|---|
| Type | Description |
BoolArray.Builder |
This builder for chaining. |
addValues(boolean value)
public BoolArray.Builder addValues(boolean value)A list of bool values.
repeated bool values = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe values to add. |
| Returns | |
|---|---|
| Type | Description |
BoolArray.Builder |
This builder for chaining. |
build()
public BoolArray build()| Returns | |
|---|---|
| Type | Description |
BoolArray |
|
buildPartial()
public BoolArray buildPartial()| Returns | |
|---|---|
| Type | Description |
BoolArray |
|
clear()
public BoolArray.Builder clear()| Returns | |
|---|---|
| Type | Description |
BoolArray.Builder |
|
clearValues()
public BoolArray.Builder clearValues()A list of bool values.
repeated bool values = 1;
| Returns | |
|---|---|
| Type | Description |
BoolArray.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public BoolArray getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BoolArray |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getValues(int index)
public boolean getValues(int index)A list of bool values.
repeated bool values = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
boolean |
The values at the given index. |
getValuesCount()
public int getValuesCount()A list of bool values.
repeated bool values = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of values. |
getValuesList()
public List<Boolean> getValuesList()A list of bool values.
repeated bool values = 1;
| Returns | |
|---|---|
| Type | Description |
List<Boolean> |
A list containing the values. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BoolArray other)
public BoolArray.Builder mergeFrom(BoolArray other)| Parameter | |
|---|---|
| Name | Description |
other |
BoolArray |
| Returns | |
|---|---|
| Type | Description |
BoolArray.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BoolArray.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BoolArray.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BoolArray.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BoolArray.Builder |
|
setValues(int index, boolean value)
public BoolArray.Builder setValues(int index, boolean value)A list of bool values.
repeated bool values = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
booleanThe values to set. |
| Returns | |
|---|---|
| Type | Description |
BoolArray.Builder |
This builder for chaining. |