public static final class Examples.Builder extends GeneratedMessageV3.Builder<Examples.Builder> implements ExamplesOrBuilder
Example-based explainability that returns the nearest neighbors from the
provided dataset.
Protobuf type google.cloud.aiplatform.v1beta1.Examples
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()
Returns
Methods
public Examples.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
Returns
public Examples buildPartial()
Returns
public Examples.Builder clear()
Returns
Overrides
public Examples.Builder clearConfig()
Returns
public Examples.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Examples.Builder clearGcsSource()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
Returns
public Examples.Builder clearNearestNeighborSearchConfig()
The 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
public Examples.Builder clearNeighborCount()
The number of neighbors to return.
int32 neighbor_count = 3;
Returns
public Examples.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Examples.Builder clearPresets()
Preset config based on the desired query speed-precision trade-off
and modality
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
Returns
public Examples.Builder clone()
Returns
Overrides
public Examples.ConfigCase getConfigCase()
Returns
public Examples getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public GcsSource getGcsSource()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
Returns
public GcsSource.Builder getGcsSourceBuilder()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
Returns
public GcsSourceOrBuilder getGcsSourceOrBuilder()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
Returns
public Value getNearestNeighborSearchConfig()
The 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.
|
public Value.Builder getNearestNeighborSearchConfigBuilder()
The 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
public ValueOrBuilder getNearestNeighborSearchConfigOrBuilder()
The 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
public int getNeighborCount()
The number of neighbors to return.
int32 neighbor_count = 3;
Returns
Type | Description |
int | The neighborCount.
|
public Presets getPresets()
Preset config based on the desired query speed-precision trade-off
and modality
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
Returns
public Presets.Builder getPresetsBuilder()
Preset config based on the desired query speed-precision trade-off
and modality
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
Returns
public PresetsOrBuilder getPresetsOrBuilder()
Preset config based on the desired query speed-precision trade-off
and modality
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
Returns
public boolean hasGcsSource()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
Returns
Type | Description |
boolean | Whether the gcsSource field is set.
|
public boolean hasNearestNeighborSearchConfig()
The 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.
|
public boolean hasPresets()
Preset config based on the desired query speed-precision trade-off
and modality
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
Returns
Type | Description |
boolean | Whether the presets field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Examples.Builder mergeFrom(Examples other)
Parameter
Returns
public Examples.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Examples.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public Examples.Builder mergeGcsSource(GcsSource value)
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
Parameter
Returns
public Examples.Builder mergeNearestNeighborSearchConfig(Value value)
The 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
|
Returns
public Examples.Builder mergePresets(Presets value)
Preset config based on the desired query speed-precision trade-off
and modality
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
Parameter
Returns
public final Examples.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Examples.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Examples.Builder setGcsSource(GcsSource value)
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
Parameter
Returns
public Examples.Builder setGcsSource(GcsSource.Builder builderForValue)
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
Parameter
Returns
public Examples.Builder setNearestNeighborSearchConfig(Value value)
The 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
|
Returns
public Examples.Builder setNearestNeighborSearchConfig(Value.Builder builderForValue)
The 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
|
Returns
public Examples.Builder setNeighborCount(int value)
The number of neighbors to return.
int32 neighbor_count = 3;
Parameter
Name | Description |
value | int
The neighborCount to set.
|
Returns
public Examples.Builder setPresets(Presets value)
Preset config based on the desired query speed-precision trade-off
and modality
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
Parameter
Returns
public Examples.Builder setPresets(Presets.Builder builderForValue)
Preset config based on the desired query speed-precision trade-off
and modality
.google.cloud.aiplatform.v1beta1.Presets presets = 4;
Parameter
Returns
public Examples.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final Examples.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides