Package com.google.cloud.aiplatform.v1
Class IdMatcher.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
- com.google.cloud.aiplatform.v1.IdMatcher.Builder
-
- All Implemented Interfaces:
IdMatcherOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IdMatcher
public static final class IdMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder> implements IdMatcherOrBuilder
Matcher for Features of an EntityType by Feature ID.
Protobuf typegoogle.cloud.aiplatform.v1.IdMatcher
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdMatcher.BuilderaddAllIds(Iterable<String> values)Required.IdMatcher.BuilderaddIds(String value)Required.IdMatcher.BuilderaddIdsBytes(com.google.protobuf.ByteString value)Required.IdMatcher.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IdMatcherbuild()IdMatcherbuildPartial()IdMatcher.Builderclear()IdMatcher.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)IdMatcher.BuilderclearIds()Required.IdMatcher.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)IdMatcher.Builderclone()IdMatchergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetIds(int index)Required.com.google.protobuf.ByteStringgetIdsBytes(int index)Required.intgetIdsCount()Required.com.google.protobuf.ProtocolStringListgetIdsList()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()IdMatcher.BuildermergeFrom(IdMatcher other)IdMatcher.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)IdMatcher.BuildermergeFrom(com.google.protobuf.Message other)IdMatcher.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)IdMatcher.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IdMatcher.BuildersetIds(int index, String value)Required.IdMatcher.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)IdMatcher.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
clear
public IdMatcher.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
getDefaultInstanceForType
public IdMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public IdMatcher build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public IdMatcher buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public IdMatcher.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
setField
public IdMatcher.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
clearField
public IdMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
clearOneof
public IdMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
setRepeatedField
public IdMatcher.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
addRepeatedField
public IdMatcher.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
mergeFrom
public IdMatcher.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IdMatcher.Builder>
-
mergeFrom
public IdMatcher.Builder mergeFrom(IdMatcher other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
mergeFrom
public IdMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IdMatcher.Builder>- Throws:
IOException
-
getIdsList
public com.google.protobuf.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];- Specified by:
getIdsListin interfaceIdMatcherOrBuilder- Returns:
- A list containing the ids.
-
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];- Specified by:
getIdsCountin interfaceIdMatcherOrBuilder- Returns:
- The count of ids.
-
getIds
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];- Specified by:
getIdsin interfaceIdMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ids at the given index.
-
getIdsBytes
public com.google.protobuf.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];- Specified by:
getIdsBytesin interfaceIdMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ids at the given index.
-
setIds
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:
index- The index to set the value at.value- The ids to set.- Returns:
- This builder for chaining.
-
addIds
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];- Parameters:
value- The ids to add.- Returns:
- This builder for chaining.
-
addAllIds
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];- Parameters:
values- The ids to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addIdsBytes
public IdMatcher.Builder addIdsBytes(com.google.protobuf.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];- Parameters:
value- The bytes of the ids to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final IdMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
mergeUnknownFields
public final IdMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IdMatcher.Builder>
-
-