public static final class ExportDataObjectsRequest.FieldFilter.FieldList.Builder extends GeneratedMessage.Builder<ExportDataObjectsRequest.FieldFilter.FieldList.Builder> implements ExportDataObjectsRequest.FieldFilter.FieldListOrBuilder Wrapper for a repeated string. Wrapping in a message lets the
surrounding oneof distinguish "field set to an empty list" (which is
rejected as INVALID_ARGUMENT) from "field not set".
Protobuf type
google.cloud.vectorsearch.v1.ExportDataObjectsRequest.FieldFilter.FieldList
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExportDataObjectsRequest.FieldFilter.FieldList.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllFields(Iterable<String> values)
public ExportDataObjectsRequest.FieldFilter.FieldList.Builder addAllFields(Iterable<String> values) Required. The list of top-level Data Object JSON field names. Allowed
values are id, data, vectors, etag.
repeated string fields = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The fields to add. |
| Returns | |
|---|---|
| Type | Description |
ExportDataObjectsRequest.FieldFilter.FieldList.Builder |
This builder for chaining. |
addFields(String value)
public ExportDataObjectsRequest.FieldFilter.FieldList.Builder addFields(String value) Required. The list of top-level Data Object JSON field names. Allowed
values are id, data, vectors, etag.
repeated string fields = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fields to add. |
| Returns | |
|---|---|
| Type | Description |
ExportDataObjectsRequest.FieldFilter.FieldList.Builder |
This builder for chaining. |
addFieldsBytes(ByteString value)
public ExportDataObjectsRequest.FieldFilter.FieldList.Builder addFieldsBytes(ByteString value) Required. The list of top-level Data Object JSON field names. Allowed
values are id, data, vectors, etag.
repeated string fields = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the fields to add. |
| Returns | |
|---|---|
| Type | Description |
ExportDataObjectsRequest.FieldFilter.FieldList.Builder |
This builder for chaining. |
build()
public ExportDataObjectsRequest.FieldFilter.FieldList build()| Returns | |
|---|---|
| Type | Description |
ExportDataObjectsRequest.FieldFilter.FieldList |
|
buildPartial()
public ExportDataObjectsRequest.FieldFilter.FieldList buildPartial()| Returns | |
|---|---|
| Type | Description |
ExportDataObjectsRequest.FieldFilter.FieldList |
|
clear()
public ExportDataObjectsRequest.FieldFilter.FieldList.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExportDataObjectsRequest.FieldFilter.FieldList.Builder |
|
clearFields()
public ExportDataObjectsRequest.FieldFilter.FieldList.Builder clearFields() Required. The list of top-level Data Object JSON field names. Allowed
values are id, data, vectors, etag.
repeated string fields = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ExportDataObjectsRequest.FieldFilter.FieldList.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ExportDataObjectsRequest.FieldFilter.FieldList getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExportDataObjectsRequest.FieldFilter.FieldList |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFields(int index)
public String getFields(int index) Required. The list of top-level Data Object JSON field names. Allowed
values are id, data, vectors, etag.
repeated string fields = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The fields at the given index. |
getFieldsBytes(int index)
public ByteString getFieldsBytes(int index) Required. The list of top-level Data Object JSON field names. Allowed
values are id, data, vectors, etag.
repeated string fields = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the fields at the given index. |
getFieldsCount()
public int getFieldsCount() Required. The list of top-level Data Object JSON field names. Allowed
values are id, data, vectors, etag.
repeated string fields = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of fields. |
getFieldsList()
public ProtocolStringList getFieldsList() Required. The list of top-level Data Object JSON field names. Allowed
values are id, data, vectors, etag.
repeated string fields = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the fields. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ExportDataObjectsRequest.FieldFilter.FieldList other)
public ExportDataObjectsRequest.FieldFilter.FieldList.Builder mergeFrom(ExportDataObjectsRequest.FieldFilter.FieldList other)| Parameter | |
|---|---|
| Name | Description |
other |
ExportDataObjectsRequest.FieldFilter.FieldList |
| Returns | |
|---|---|
| Type | Description |
ExportDataObjectsRequest.FieldFilter.FieldList.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportDataObjectsRequest.FieldFilter.FieldList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportDataObjectsRequest.FieldFilter.FieldList.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExportDataObjectsRequest.FieldFilter.FieldList.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExportDataObjectsRequest.FieldFilter.FieldList.Builder |
|
setFields(int index, String value)
public ExportDataObjectsRequest.FieldFilter.FieldList.Builder setFields(int index, String value) Required. The list of top-level Data Object JSON field names. Allowed
values are id, data, vectors, etag.
repeated string fields = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe fields to set. |
| Returns | |
|---|---|
| Type | Description |
ExportDataObjectsRequest.FieldFilter.FieldList.Builder |
This builder for chaining. |