Class Examples.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Examples.Builder>
-
- com.google.cloud.aiplatform.v1beta1.Examples.Builder
-
- All Implemented Interfaces:
ExamplesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Examples
public static final class Examples.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Examples.Builder> implements ExamplesOrBuilder
Example-based explainability that returns the nearest neighbors from the provided dataset.
Protobuf typegoogle.cloud.aiplatform.v1beta1.Examples
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Examples.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Examplesbuild()ExamplesbuildPartial()Examples.Builderclear()Examples.BuilderclearConfig()Examples.BuilderclearExampleGcsSource()The Cloud Storage input instances.Examples.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Examples.BuilderclearGcsSource()The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.Examples.BuilderclearNearestNeighborSearchConfig()The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).Examples.BuilderclearNeighborCount()The number of neighbors to return when querying for examples.Examples.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Examples.BuilderclearPresets()Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.Examples.BuilderclearSource()Examples.Builderclone()Examples.ConfigCasegetConfigCase()ExamplesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Examples.ExampleGcsSourcegetExampleGcsSource()The Cloud Storage input instances.Examples.ExampleGcsSource.BuildergetExampleGcsSourceBuilder()The Cloud Storage input instances.Examples.ExampleGcsSourceOrBuildergetExampleGcsSourceOrBuilder()The Cloud Storage input instances.GcsSourcegetGcsSource()The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.GcsSource.BuildergetGcsSourceBuilder()The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.GcsSourceOrBuildergetGcsSourceOrBuilder()The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.com.google.protobuf.ValuegetNearestNeighborSearchConfig()The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).com.google.protobuf.Value.BuildergetNearestNeighborSearchConfigBuilder()The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).com.google.protobuf.ValueOrBuildergetNearestNeighborSearchConfigOrBuilder()The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).intgetNeighborCount()The number of neighbors to return when querying for examples.PresetsgetPresets()Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.Presets.BuildergetPresetsBuilder()Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.PresetsOrBuildergetPresetsOrBuilder()Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.Examples.SourceCasegetSourceCase()booleanhasExampleGcsSource()The Cloud Storage input instances.booleanhasGcsSource()The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.booleanhasNearestNeighborSearchConfig()The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).booleanhasPresets()Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Examples.BuildermergeExampleGcsSource(Examples.ExampleGcsSource value)The Cloud Storage input instances.Examples.BuildermergeFrom(Examples other)Examples.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Examples.BuildermergeFrom(com.google.protobuf.Message other)Examples.BuildermergeGcsSource(GcsSource value)The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.Examples.BuildermergeNearestNeighborSearchConfig(com.google.protobuf.Value value)The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).Examples.BuildermergePresets(Presets value)Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.Examples.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Examples.BuildersetExampleGcsSource(Examples.ExampleGcsSource value)The Cloud Storage input instances.Examples.BuildersetExampleGcsSource(Examples.ExampleGcsSource.Builder builderForValue)The Cloud Storage input instances.Examples.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Examples.BuildersetGcsSource(GcsSource value)The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.Examples.BuildersetGcsSource(GcsSource.Builder builderForValue)The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.Examples.BuildersetNearestNeighborSearchConfig(com.google.protobuf.Value value)The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).Examples.BuildersetNearestNeighborSearchConfig(com.google.protobuf.Value.Builder builderForValue)The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).Examples.BuildersetNeighborCount(int value)The number of neighbors to return when querying for examples.Examples.BuildersetPresets(Presets value)Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.Examples.BuildersetPresets(Presets.Builder builderForValue)Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.Examples.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Examples.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<Examples.Builder>
-
clear
public Examples.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<Examples.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<Examples.Builder>
-
getDefaultInstanceForType
public Examples getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Examples build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Examples buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Examples.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<Examples.Builder>
-
setField
public Examples.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<Examples.Builder>
-
clearField
public Examples.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Examples.Builder>
-
clearOneof
public Examples.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Examples.Builder>
-
setRepeatedField
public Examples.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<Examples.Builder>
-
addRepeatedField
public Examples.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<Examples.Builder>
-
mergeFrom
public Examples.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Examples.Builder>
-
mergeFrom
public Examples.Builder mergeFrom(Examples other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Examples.Builder>
-
mergeFrom
public Examples.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<Examples.Builder>- Throws:
IOException
-
getSourceCase
public Examples.SourceCase getSourceCase()
- Specified by:
getSourceCasein interfaceExamplesOrBuilder
-
clearSource
public Examples.Builder clearSource()
-
getConfigCase
public Examples.ConfigCase getConfigCase()
- Specified by:
getConfigCasein interfaceExamplesOrBuilder
-
clearConfig
public Examples.Builder clearConfig()
-
hasExampleGcsSource
public boolean hasExampleGcsSource()
The Cloud Storage input instances.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource example_gcs_source = 5;- Specified by:
hasExampleGcsSourcein interfaceExamplesOrBuilder- Returns:
- Whether the exampleGcsSource field is set.
-
getExampleGcsSource
public Examples.ExampleGcsSource getExampleGcsSource()
The Cloud Storage input instances.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource example_gcs_source = 5;- Specified by:
getExampleGcsSourcein interfaceExamplesOrBuilder- Returns:
- The exampleGcsSource.
-
setExampleGcsSource
public Examples.Builder setExampleGcsSource(Examples.ExampleGcsSource value)
The Cloud Storage input instances.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource example_gcs_source = 5;
-
setExampleGcsSource
public Examples.Builder setExampleGcsSource(Examples.ExampleGcsSource.Builder builderForValue)
The Cloud Storage input instances.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource example_gcs_source = 5;
-
mergeExampleGcsSource
public Examples.Builder mergeExampleGcsSource(Examples.ExampleGcsSource value)
The Cloud Storage input instances.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource example_gcs_source = 5;
-
clearExampleGcsSource
public Examples.Builder clearExampleGcsSource()
The Cloud Storage input instances.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource example_gcs_source = 5;
-
getExampleGcsSourceBuilder
public Examples.ExampleGcsSource.Builder getExampleGcsSourceBuilder()
The Cloud Storage input instances.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource example_gcs_source = 5;
-
getExampleGcsSourceOrBuilder
public Examples.ExampleGcsSourceOrBuilder getExampleGcsSourceOrBuilder()
The Cloud Storage input instances.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource example_gcs_source = 5;- Specified by:
getExampleGcsSourceOrBuilderin interfaceExamplesOrBuilder
-
hasNearestNeighborSearchConfig
public boolean hasNearestNeighborSearchConfig()
The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).
.google.protobuf.Value nearest_neighbor_search_config = 2;- Specified by:
hasNearestNeighborSearchConfigin interfaceExamplesOrBuilder- Returns:
- Whether the nearestNeighborSearchConfig field is set.
-
getNearestNeighborSearchConfig
public com.google.protobuf.Value getNearestNeighborSearchConfig()
The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).
.google.protobuf.Value nearest_neighbor_search_config = 2;- Specified by:
getNearestNeighborSearchConfigin interfaceExamplesOrBuilder- Returns:
- The nearestNeighborSearchConfig.
-
setNearestNeighborSearchConfig
public Examples.Builder setNearestNeighborSearchConfig(com.google.protobuf.Value value)
The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).
.google.protobuf.Value nearest_neighbor_search_config = 2;
-
setNearestNeighborSearchConfig
public Examples.Builder setNearestNeighborSearchConfig(com.google.protobuf.Value.Builder builderForValue)
The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).
.google.protobuf.Value nearest_neighbor_search_config = 2;
-
mergeNearestNeighborSearchConfig
public Examples.Builder mergeNearestNeighborSearchConfig(com.google.protobuf.Value value)
The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).
.google.protobuf.Value nearest_neighbor_search_config = 2;
-
clearNearestNeighborSearchConfig
public Examples.Builder clearNearestNeighborSearchConfig()
The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).
.google.protobuf.Value nearest_neighbor_search_config = 2;
-
getNearestNeighborSearchConfigBuilder
public com.google.protobuf.Value.Builder getNearestNeighborSearchConfigBuilder()
The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).
.google.protobuf.Value nearest_neighbor_search_config = 2;
-
getNearestNeighborSearchConfigOrBuilder
public com.google.protobuf.ValueOrBuilder getNearestNeighborSearchConfigOrBuilder()
The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).
.google.protobuf.Value nearest_neighbor_search_config = 2;- Specified by:
getNearestNeighborSearchConfigOrBuilderin interfaceExamplesOrBuilder
-
hasPresets
public boolean hasPresets()
Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.
.google.cloud.aiplatform.v1beta1.Presets presets = 4;- Specified by:
hasPresetsin interfaceExamplesOrBuilder- Returns:
- Whether the presets field is set.
-
getPresets
public Presets getPresets()
Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.
.google.cloud.aiplatform.v1beta1.Presets presets = 4;- Specified by:
getPresetsin interfaceExamplesOrBuilder- Returns:
- The presets.
-
setPresets
public Examples.Builder setPresets(Presets value)
Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
-
setPresets
public Examples.Builder setPresets(Presets.Builder builderForValue)
Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
-
mergePresets
public Examples.Builder mergePresets(Presets value)
Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
-
clearPresets
public Examples.Builder clearPresets()
Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
-
getPresetsBuilder
public Presets.Builder getPresetsBuilder()
Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
-
getPresetsOrBuilder
public PresetsOrBuilder getPresetsOrBuilder()
Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.
.google.cloud.aiplatform.v1beta1.Presets presets = 4;- Specified by:
getPresetsOrBuilderin interfaceExamplesOrBuilder
-
hasGcsSource
public boolean hasGcsSource()
The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;- Specified by:
hasGcsSourcein interfaceExamplesOrBuilder- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
public GcsSource getGcsSource()
The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;- Specified by:
getGcsSourcein interfaceExamplesOrBuilder- Returns:
- The gcsSource.
-
setGcsSource
public Examples.Builder setGcsSource(GcsSource value)
The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
-
setGcsSource
public Examples.Builder setGcsSource(GcsSource.Builder builderForValue)
The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
-
mergeGcsSource
public Examples.Builder mergeGcsSource(GcsSource value)
The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
-
clearGcsSource
public Examples.Builder clearGcsSource()
The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
-
getGcsSourceBuilder
public GcsSource.Builder getGcsSourceBuilder()
The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
-
getGcsSourceOrBuilder
public GcsSourceOrBuilder getGcsSourceOrBuilder()
The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;- Specified by:
getGcsSourceOrBuilderin interfaceExamplesOrBuilder
-
getNeighborCount
public int getNeighborCount()
The number of neighbors to return when querying for examples.
int32 neighbor_count = 3;- Specified by:
getNeighborCountin interfaceExamplesOrBuilder- Returns:
- The neighborCount.
-
setNeighborCount
public Examples.Builder setNeighborCount(int value)
The number of neighbors to return when querying for examples.
int32 neighbor_count = 3;- Parameters:
value- The neighborCount to set.- Returns:
- This builder for chaining.
-
clearNeighborCount
public Examples.Builder clearNeighborCount()
The number of neighbors to return when querying for examples.
int32 neighbor_count = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Examples.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Examples.Builder>
-
mergeUnknownFields
public final Examples.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Examples.Builder>
-
-