public static final class IdMatcher.Builder extends GeneratedMessageV3.Builder<IdMatcher.Builder> implements IdMatcherOrBuilder
Matcher for Features of an EntityType by Feature ID.
Protobuf type google.cloud.aiplatform.v1beta1.IdMatcher
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()
Methods
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];
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 | String
The ids to add.
|
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 | ByteString
The bytes of the ids to add.
|
public IdMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public IdMatcher buildPartial()
public IdMatcher.Builder clear()
Overrides
public IdMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
public IdMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public IdMatcher.Builder clone()
Overrides
public IdMatcher getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The ids at the given 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 | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the ids at the given 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];
Returns |
---|
Type | Description |
int | The count of ids.
|
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];
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public IdMatcher.Builder mergeFrom(IdMatcher other)
public IdMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public IdMatcher.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final IdMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public IdMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 | int
The index to set the value at.
|
value | String
The ids to set.
|
public IdMatcher.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final IdMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides