Skip to content
Prev Previous commit
Next Next commit
Removing ovveride statements from setFields for `VectorizableImageU…
…rlQuery` and `VectorizableImageBinaryQuery`
  • Loading branch information
jairmyree committed Apr 23, 2024
commit 0d355175d8f7bd56347160f4ee9d90712a7516ee
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

package com.azure.search.documents.models;

import com.azure.core.annotation.Fluent;
Expand All @@ -19,6 +18,7 @@
*/
@Fluent
public final class VectorizableImageBinaryQuery extends VectorQuery {

/*
* The base 64 encoded binary of an image to be vectorized to perform a vector search query.
*/
Expand All @@ -33,7 +33,7 @@ public VectorizableImageBinaryQuery() {
/**
* Get the base64Image property: The base 64 encoded binary of an image to be vectorized to perform a vector search
* query.
*
*
* @return the base64Image value.
*/
public String getBase64Image() {
Expand All @@ -43,7 +43,7 @@ public String getBase64Image() {
/**
* Set the base64Image property: The base 64 encoded binary of an image to be vectorized to perform a vector search
* query.
*
*
* @param base64Image the base64Image value to set.
* @return the VectorizableImageBinaryQuery object itself.
*/
Expand All @@ -64,7 +64,6 @@ public VectorizableImageBinaryQuery setKNearestNeighborsCount(Integer kNearestNe
/**
* {@inheritDoc}
*/
@Override
public VectorizableImageBinaryQuery setFields(String fields) {
super.setFields(fields);
return this;
Expand Down Expand Up @@ -123,7 +122,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {

/**
* Reads an instance of VectorizableImageBinaryQuery from the JsonReader.
*
*
* @param jsonReader The JsonReader being read.
* @return An instance of VectorizableImageBinaryQuery if the JsonReader was pointing to an instance of it, or null
* if it was pointing to JSON null.
Expand All @@ -136,7 +135,6 @@ public static VectorizableImageBinaryQuery fromJson(JsonReader jsonReader) throw
while (reader.nextToken() != JsonToken.END_OBJECT) {
String fieldName = reader.getFieldName();
reader.nextToken();

if ("kind".equals(fieldName)) {
String kind = reader.getString();
if (!"imageBinary".equals(kind)) {
Expand All @@ -163,7 +161,6 @@ public static VectorizableImageBinaryQuery fromJson(JsonReader jsonReader) throw
reader.skipChildren();
}
}

return deserializedVectorizableImageBinaryQuery;
});
}
Expand Down