public static final class IdMatcher.Builder extends GeneratedMessage.Builder<IdMatcher.Builder> implements IdMatcherOrBuilderMatcher for Features of an EntityType by Feature ID.
Protobuf type google.cloud.aiplatform.v1beta1.IdMatcher
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IdMatcher.BuilderImplements
IdMatcherOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllIds(Iterable<String> values)
public IdMatcher.Builder addAllIds(Iterable<String> values) Required. The following are accepted as ids:
- A single-element list containing only
*, which selects all Features in the target EntityType, or - A list containing only Feature IDs, which selects only Features with those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The ids to add. |
| Returns | |
|---|---|
| Type | Description |
IdMatcher.Builder |
This builder for chaining. |
addIds(String value)
public IdMatcher.Builder addIds(String value) Required. The following are accepted as ids:
- A single-element list containing only
*, which selects all Features in the target EntityType, or - A list containing only Feature IDs, which selects only Features with those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ids to add. |
| Returns | |
|---|---|
| Type | Description |
IdMatcher.Builder |
This builder for chaining. |
addIdsBytes(ByteString value)
public IdMatcher.Builder addIdsBytes(ByteString value) Required. The following are accepted as ids:
- A single-element list containing only
*, which selects all Features in the target EntityType, or - A list containing only Feature IDs, which selects only Features with those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the ids to add. |
| Returns | |
|---|---|
| Type | Description |
IdMatcher.Builder |
This builder for chaining. |
build()
public IdMatcher build()| Returns | |
|---|---|
| Type | Description |
IdMatcher |
|
buildPartial()
public IdMatcher buildPartial()| Returns | |
|---|---|
| Type | Description |
IdMatcher |
|
clear()
public IdMatcher.Builder clear()| Returns | |
|---|---|
| Type | Description |
IdMatcher.Builder |
|
clearIds()
public IdMatcher.Builder clearIds() Required. The following are accepted as ids:
- A single-element list containing only
*, which selects all Features in the target EntityType, or - A list containing only Feature IDs, which selects only Features with those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IdMatcher.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public IdMatcher getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IdMatcher |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIds(int index)
public String getIds(int index) Required. The following are accepted as ids:
- A single-element list containing only
*, which selects all Features in the target EntityType, or - A list containing only Feature IDs, which selects only Features with those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The ids at the given index. |
getIdsBytes(int index)
public ByteString getIdsBytes(int index) Required. The following are accepted as ids:
- A single-element list containing only
*, which selects all Features in the target EntityType, or - A list containing only Feature IDs, which selects only Features with those IDs in the target EntityType.
repeated string ids = 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 ids at the given index. |
getIdsCount()
public int getIdsCount() Required. The following are accepted as ids:
- A single-element list containing only
*, which selects all Features in the target EntityType, or - A list containing only Feature IDs, which selects only Features with those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of ids. |
getIdsList()
public ProtocolStringList getIdsList() Required. The following are accepted as ids:
- A single-element list containing only
*, which selects all Features in the target EntityType, or - A list containing only Feature IDs, which selects only Features with those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the ids. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(IdMatcher other)
public IdMatcher.Builder mergeFrom(IdMatcher other)| Parameter | |
|---|---|
| Name | Description |
other |
IdMatcher |
| Returns | |
|---|---|
| Type | Description |
IdMatcher.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IdMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IdMatcher.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IdMatcher.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IdMatcher.Builder |
|
setIds(int index, String value)
public IdMatcher.Builder setIds(int index, String value) Required. The following are accepted as ids:
- A single-element list containing only
*, which selects all Features in the target EntityType, or - A list containing only Feature IDs, which selects only Features with those IDs in the target EntityType.
repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe ids to set. |
| Returns | |
|---|---|
| Type | Description |
IdMatcher.Builder |
This builder for chaining. |