publicstaticfinalclass Examples.BuilderextendsGeneratedMessageV3.Builder<Examples.Builder>implementsExamplesOrBuilder
Example-based explainability that returns the nearest neighbors from the
provided dataset.
Protobuf type google.cloud.vertexai.v1.Examples
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicExamples.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
buildPartial()
publicExamplesbuildPartial()
clear()
publicExamples.Builderclear()
Overrides
clearConfig()
publicExamples.BuilderclearConfig()
clearExampleGcsSource()
publicExamples.BuilderclearExampleGcsSource()
The Cloud Storage input instances.
.google.cloud.vertexai.v1.Examples.ExampleGcsSource example_gcs_source = 5;
clearField(Descriptors.FieldDescriptor field)
publicExamples.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearNearestNeighborSearchConfig()
publicExamples.BuilderclearNearestNeighborSearchConfig()
The full configuration for the generated index, the semantics are the
same as metadata and should
match
NearestNeighborSearchConfig.
.google.protobuf.Value nearest_neighbor_search_config = 2;
clearNeighborCount()
publicExamples.BuilderclearNeighborCount()
The number of neighbors to return when querying for examples.
int32 neighbor_count = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
publicExamples.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearPresets()
publicExamples.BuilderclearPresets()
Simplified preset configuration, which automatically sets configuration
values based on the desired query speed-precision trade-off and modality.
.google.cloud.vertexai.v1.Presets presets = 4;
clearSource()
publicExamples.BuilderclearSource()
clone()
publicExamples.Builderclone()
Overrides
getConfigCase()
publicExamples.ConfigCasegetConfigCase()
getDefaultInstanceForType()
publicExamplesgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getExampleGcsSource()
publicExamples.ExampleGcsSourcegetExampleGcsSource()
The Cloud Storage input instances.
.google.cloud.vertexai.v1.Examples.ExampleGcsSource example_gcs_source = 5;
getExampleGcsSourceBuilder()
publicExamples.ExampleGcsSource.BuildergetExampleGcsSourceBuilder()
The Cloud Storage input instances.
.google.cloud.vertexai.v1.Examples.ExampleGcsSource example_gcs_source = 5;
getExampleGcsSourceOrBuilder()
publicExamples.ExampleGcsSourceOrBuildergetExampleGcsSourceOrBuilder()
The Cloud Storage input instances.
.google.cloud.vertexai.v1.Examples.ExampleGcsSource example_gcs_source = 5;
getNearestNeighborSearchConfig()
publicValuegetNearestNeighborSearchConfig()
The full configuration for the generated index, the semantics are the
same as metadata and should
match
NearestNeighborSearchConfig.
.google.protobuf.Value nearest_neighbor_search_config = 2;
| Returns |
| Type |
Description |
Value |
The nearestNeighborSearchConfig.
|
getNearestNeighborSearchConfigBuilder()
publicValue.BuildergetNearestNeighborSearchConfigBuilder()
The full configuration for the generated index, the semantics are the
same as metadata and should
match
NearestNeighborSearchConfig.
.google.protobuf.Value nearest_neighbor_search_config = 2;
getNearestNeighborSearchConfigOrBuilder()
publicValueOrBuildergetNearestNeighborSearchConfigOrBuilder()
The full configuration for the generated index, the semantics are the
same as metadata and should
match
NearestNeighborSearchConfig.
.google.protobuf.Value nearest_neighbor_search_config = 2;
getNeighborCount()
publicintgetNeighborCount()
The number of neighbors to return when querying for examples.
int32 neighbor_count = 3;
| Returns |
| Type |
Description |
int |
The neighborCount.
|
getPresets()
publicPresetsgetPresets()
Simplified preset configuration, which automatically sets configuration
values based on the desired query speed-precision trade-off and modality.
.google.cloud.vertexai.v1.Presets presets = 4;
| Returns |
| Type |
Description |
Presets |
The presets.
|
getPresetsBuilder()
publicPresets.BuildergetPresetsBuilder()
Simplified preset configuration, which automatically sets configuration
values based on the desired query speed-precision trade-off and modality.
.google.cloud.vertexai.v1.Presets presets = 4;
getPresetsOrBuilder()
publicPresetsOrBuildergetPresetsOrBuilder()
Simplified preset configuration, which automatically sets configuration
values based on the desired query speed-precision trade-off and modality.
.google.cloud.vertexai.v1.Presets presets = 4;
getSourceCase()
publicExamples.SourceCasegetSourceCase()
hasExampleGcsSource()
publicbooleanhasExampleGcsSource()
The Cloud Storage input instances.
.google.cloud.vertexai.v1.Examples.ExampleGcsSource example_gcs_source = 5;
| Returns |
| Type |
Description |
boolean |
Whether the exampleGcsSource field is set.
|
hasNearestNeighborSearchConfig()
publicbooleanhasNearestNeighborSearchConfig()
The full configuration for the generated index, the semantics are the
same as metadata and should
match
NearestNeighborSearchConfig.
.google.protobuf.Value nearest_neighbor_search_config = 2;
| Returns |
| Type |
Description |
boolean |
Whether the nearestNeighborSearchConfig field is set.
|
hasPresets()
publicbooleanhasPresets()
Simplified preset configuration, which automatically sets configuration
values based on the desired query speed-precision trade-off and modality.
.google.cloud.vertexai.v1.Presets presets = 4;
| Returns |
| Type |
Description |
boolean |
Whether the presets field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeExampleGcsSource(Examples.ExampleGcsSource value)
publicExamples.BuildermergeExampleGcsSource(Examples.ExampleGcsSourcevalue)
The Cloud Storage input instances.
.google.cloud.vertexai.v1.Examples.ExampleGcsSource example_gcs_source = 5;
mergeFrom(Examples other)
publicExamples.BuildermergeFrom(Examplesother)
| Parameter |
| Name |
Description |
other |
Examples
|
publicExamples.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicExamples.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeNearestNeighborSearchConfig(Value value)
publicExamples.BuildermergeNearestNeighborSearchConfig(Valuevalue)
The full configuration for the generated index, the semantics are the
same as metadata and should
match
NearestNeighborSearchConfig.
.google.protobuf.Value nearest_neighbor_search_config = 2;
| Parameter |
| Name |
Description |
value |
Value
|
mergePresets(Presets value)
publicExamples.BuildermergePresets(Presetsvalue)
Simplified preset configuration, which automatically sets configuration
values based on the desired query speed-precision trade-off and modality.
.google.cloud.vertexai.v1.Presets presets = 4;
| Parameter |
| Name |
Description |
value |
Presets
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalExamples.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setExampleGcsSource(Examples.ExampleGcsSource value)
publicExamples.BuildersetExampleGcsSource(Examples.ExampleGcsSourcevalue)
The Cloud Storage input instances.
.google.cloud.vertexai.v1.Examples.ExampleGcsSource example_gcs_source = 5;
setExampleGcsSource(Examples.ExampleGcsSource.Builder builderForValue)
publicExamples.BuildersetExampleGcsSource(Examples.ExampleGcsSource.BuilderbuilderForValue)
The Cloud Storage input instances.
.google.cloud.vertexai.v1.Examples.ExampleGcsSource example_gcs_source = 5;
setField(Descriptors.FieldDescriptor field, Object value)
publicExamples.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setNearestNeighborSearchConfig(Value value)
publicExamples.BuildersetNearestNeighborSearchConfig(Valuevalue)
The full configuration for the generated index, the semantics are the
same as metadata and should
match
NearestNeighborSearchConfig.
.google.protobuf.Value nearest_neighbor_search_config = 2;
| Parameter |
| Name |
Description |
value |
Value
|
setNearestNeighborSearchConfig(Value.Builder builderForValue)
publicExamples.BuildersetNearestNeighborSearchConfig(Value.BuilderbuilderForValue)
The full configuration for the generated index, the semantics are the
same as metadata and should
match
NearestNeighborSearchConfig.
.google.protobuf.Value nearest_neighbor_search_config = 2;
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
setNeighborCount(int value)
publicExamples.BuildersetNeighborCount(intvalue)
The number of neighbors to return when querying for examples.
int32 neighbor_count = 3;
| Parameter |
| Name |
Description |
value |
int
The neighborCount to set.
|
setPresets(Presets value)
publicExamples.BuildersetPresets(Presetsvalue)
Simplified preset configuration, which automatically sets configuration
values based on the desired query speed-precision trade-off and modality.
.google.cloud.vertexai.v1.Presets presets = 4;
| Parameter |
| Name |
Description |
value |
Presets
|
setPresets(Presets.Builder builderForValue)
publicExamples.BuildersetPresets(Presets.BuilderbuilderForValue)
Simplified preset configuration, which automatically sets configuration
values based on the desired query speed-precision trade-off and modality.
.google.cloud.vertexai.v1.Presets presets = 4;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicExamples.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalExamples.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides