@@ -31,11 +31,11 @@ public class EmbeddingsPostResponse
3131 @ JsonProperty ("request_id" )
3232 private String requestId ;
3333
34- @ JsonProperty ("module_results " )
35- private ModuleResultsBase moduleResults ;
34+ @ JsonProperty ("intermediate_results " )
35+ private ModuleResultsBase intermediateResults ;
3636
37- @ JsonProperty ("orchestration_result " )
38- private EmbeddingsResponse orchestrationResult ;
37+ @ JsonProperty ("final_result " )
38+ private EmbeddingsResponse finalResult ;
3939
4040 @ JsonAnySetter @ JsonAnyGetter
4141 private final Map <String , Object > cloudSdkCustomFields = new LinkedHashMap <>();
@@ -75,69 +75,69 @@ public void setRequestId(@Nonnull final String requestId) {
7575 }
7676
7777 /**
78- * Set the moduleResults of this {@link EmbeddingsPostResponse} instance and return the same
78+ * Set the intermediateResults of this {@link EmbeddingsPostResponse} instance and return the same
7979 * instance.
8080 *
81- * @param moduleResults The moduleResults of this {@link EmbeddingsPostResponse}
81+ * @param intermediateResults The intermediateResults of this {@link EmbeddingsPostResponse}
8282 * @return The same instance of this {@link EmbeddingsPostResponse} class
8383 */
8484 @ Nonnull
85- public EmbeddingsPostResponse moduleResults (@ Nullable final ModuleResultsBase moduleResults ) {
86- this .moduleResults = moduleResults ;
85+ public EmbeddingsPostResponse intermediateResults (
86+ @ Nullable final ModuleResultsBase intermediateResults ) {
87+ this .intermediateResults = intermediateResults ;
8788 return this ;
8889 }
8990
9091 /**
91- * Get moduleResults
92+ * Get intermediateResults
9293 *
93- * @return moduleResults The moduleResults of this {@link EmbeddingsPostResponse} instance.
94+ * @return intermediateResults The intermediateResults of this {@link EmbeddingsPostResponse}
95+ * instance.
9496 */
9597 @ Nonnull
96- public ModuleResultsBase getModuleResults () {
97- return moduleResults ;
98+ public ModuleResultsBase getIntermediateResults () {
99+ return intermediateResults ;
98100 }
99101
100102 /**
101- * Set the moduleResults of this {@link EmbeddingsPostResponse} instance.
103+ * Set the intermediateResults of this {@link EmbeddingsPostResponse} instance.
102104 *
103- * @param moduleResults The moduleResults of this {@link EmbeddingsPostResponse}
105+ * @param intermediateResults The intermediateResults of this {@link EmbeddingsPostResponse}
104106 */
105- public void setModuleResults (@ Nullable final ModuleResultsBase moduleResults ) {
106- this .moduleResults = moduleResults ;
107+ public void setIntermediateResults (@ Nullable final ModuleResultsBase intermediateResults ) {
108+ this .intermediateResults = intermediateResults ;
107109 }
108110
109111 /**
110- * Set the orchestrationResult of this {@link EmbeddingsPostResponse} instance and return the same
112+ * Set the finalResult of this {@link EmbeddingsPostResponse} instance and return the same
111113 * instance.
112114 *
113- * @param orchestrationResult The orchestrationResult of this {@link EmbeddingsPostResponse}
115+ * @param finalResult The finalResult of this {@link EmbeddingsPostResponse}
114116 * @return The same instance of this {@link EmbeddingsPostResponse} class
115117 */
116118 @ Nonnull
117- public EmbeddingsPostResponse orchestrationResult (
118- @ Nullable final EmbeddingsResponse orchestrationResult ) {
119- this .orchestrationResult = orchestrationResult ;
119+ public EmbeddingsPostResponse finalResult (@ Nullable final EmbeddingsResponse finalResult ) {
120+ this .finalResult = finalResult ;
120121 return this ;
121122 }
122123
123124 /**
124- * Get orchestrationResult
125+ * Get finalResult
125126 *
126- * @return orchestrationResult The orchestrationResult of this {@link EmbeddingsPostResponse}
127- * instance.
127+ * @return finalResult The finalResult of this {@link EmbeddingsPostResponse} instance.
128128 */
129129 @ Nonnull
130- public EmbeddingsResponse getOrchestrationResult () {
131- return orchestrationResult ;
130+ public EmbeddingsResponse getFinalResult () {
131+ return finalResult ;
132132 }
133133
134134 /**
135- * Set the orchestrationResult of this {@link EmbeddingsPostResponse} instance.
135+ * Set the finalResult of this {@link EmbeddingsPostResponse} instance.
136136 *
137- * @param orchestrationResult The orchestrationResult of this {@link EmbeddingsPostResponse}
137+ * @param finalResult The finalResult of this {@link EmbeddingsPostResponse}
138138 */
139- public void setOrchestrationResult (@ Nullable final EmbeddingsResponse orchestrationResult ) {
140- this .orchestrationResult = orchestrationResult ;
139+ public void setFinalResult (@ Nullable final EmbeddingsResponse finalResult ) {
140+ this .finalResult = finalResult ;
141141 }
142142
143143 /**
@@ -180,8 +180,8 @@ public Object getCustomField(@Nonnull final String name) throws NoSuchElementExc
180180 public Map <String , Object > toMap () {
181181 final Map <String , Object > declaredFields = new LinkedHashMap <>(cloudSdkCustomFields );
182182 if (requestId != null ) declaredFields .put ("requestId" , requestId );
183- if (moduleResults != null ) declaredFields .put ("moduleResults " , moduleResults );
184- if (orchestrationResult != null ) declaredFields .put ("orchestrationResult " , orchestrationResult );
183+ if (intermediateResults != null ) declaredFields .put ("intermediateResults " , intermediateResults );
184+ if (finalResult != null ) declaredFields .put ("finalResult " , finalResult );
185185 return declaredFields ;
186186 }
187187
@@ -208,13 +208,13 @@ public boolean equals(@Nullable final java.lang.Object o) {
208208 final EmbeddingsPostResponse embeddingsPostResponse = (EmbeddingsPostResponse ) o ;
209209 return Objects .equals (this .cloudSdkCustomFields , embeddingsPostResponse .cloudSdkCustomFields )
210210 && Objects .equals (this .requestId , embeddingsPostResponse .requestId )
211- && Objects .equals (this .moduleResults , embeddingsPostResponse .moduleResults )
212- && Objects .equals (this .orchestrationResult , embeddingsPostResponse .orchestrationResult );
211+ && Objects .equals (this .intermediateResults , embeddingsPostResponse .intermediateResults )
212+ && Objects .equals (this .finalResult , embeddingsPostResponse .finalResult );
213213 }
214214
215215 @ Override
216216 public int hashCode () {
217- return Objects .hash (requestId , moduleResults , orchestrationResult , cloudSdkCustomFields );
217+ return Objects .hash (requestId , intermediateResults , finalResult , cloudSdkCustomFields );
218218 }
219219
220220 @ Override
@@ -223,10 +223,10 @@ public String toString() {
223223 final StringBuilder sb = new StringBuilder ();
224224 sb .append ("class EmbeddingsPostResponse {\n " );
225225 sb .append (" requestId: " ).append (toIndentedString (requestId )).append ("\n " );
226- sb .append (" moduleResults: " ).append (toIndentedString (moduleResults )).append ("\n " );
227- sb .append (" orchestrationResult: " )
228- .append (toIndentedString (orchestrationResult ))
226+ sb .append (" intermediateResults: " )
227+ .append (toIndentedString (intermediateResults ))
229228 .append ("\n " );
229+ sb .append (" finalResult: " ).append (toIndentedString (finalResult )).append ("\n " );
230230 cloudSdkCustomFields .forEach (
231231 (k , v ) ->
232232 sb .append (" " ).append (k ).append (": " ).append (toIndentedString (v )).append ("\n " ));
0 commit comments