public static interface SearchExamplesResponse.SimilarExampleOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getExample()
public abstract Example getExample()The example that is similar to the searched query.
.google.cloud.aiplatform.v1beta1.Example example = 1;
| Returns | |
|---|---|
| Type | Description |
Example |
The example. |
getExampleOrBuilder()
public abstract ExampleOrBuilder getExampleOrBuilder()The example that is similar to the searched query.
.google.cloud.aiplatform.v1beta1.Example example = 1;
| Returns | |
|---|---|
| Type | Description |
ExampleOrBuilder |
|
getSimilarityScore()
public abstract float getSimilarityScore()The similarity score of this example.
float similarity_score = 2;
| Returns | |
|---|---|
| Type | Description |
float |
The similarityScore. |
hasExample()
public abstract boolean hasExample()The example that is similar to the searched query.
.google.cloud.aiplatform.v1beta1.Example example = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the example field is set. |