Skip to content

Commit fe757d6

Browse files
eng, sync core compiler 1.0.0 (#3107)
1 parent 6b1d5f0 commit fe757d6

File tree

968 files changed

+10965
-2980
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

968 files changed

+10965
-2980
lines changed

azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/dpg/DocumentModelsClientBuilder.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,37 +69,37 @@ public DocumentModelsClientBuilder() {
6969
}
7070

7171
/*
72-
* The HTTP pipeline to send requests through.
72+
* The HTTP client used to send the request.
7373
*/
7474
@Generated
75-
private HttpPipeline pipeline;
75+
private HttpClient httpClient;
7676

7777
/**
7878
* {@inheritDoc}.
7979
*/
8080
@Generated
8181
@Override
82-
public DocumentModelsClientBuilder pipeline(HttpPipeline pipeline) {
83-
if (this.pipeline != null && pipeline == null) {
84-
LOGGER.atInfo().log("HttpPipeline is being set to 'null' when it was previously configured.");
85-
}
86-
this.pipeline = pipeline;
82+
public DocumentModelsClientBuilder httpClient(HttpClient httpClient) {
83+
this.httpClient = httpClient;
8784
return this;
8885
}
8986

9087
/*
91-
* The HTTP client used to send the request.
88+
* The HTTP pipeline to send requests through.
9289
*/
9390
@Generated
94-
private HttpClient httpClient;
91+
private HttpPipeline pipeline;
9592

9693
/**
9794
* {@inheritDoc}.
9895
*/
9996
@Generated
10097
@Override
101-
public DocumentModelsClientBuilder httpClient(HttpClient httpClient) {
102-
this.httpClient = httpClient;
98+
public DocumentModelsClientBuilder pipeline(HttpPipeline pipeline) {
99+
if (this.pipeline != null && pipeline == null) {
100+
LOGGER.atInfo().log("HttpPipeline is being set to 'null' when it was previously configured.");
101+
}
102+
this.pipeline = pipeline;
103103
return this;
104104
}
105105

azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/dpg/MiscellaneousClientBuilder.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,37 +69,37 @@ public MiscellaneousClientBuilder() {
6969
}
7070

7171
/*
72-
* The HTTP pipeline to send requests through.
72+
* The HTTP client used to send the request.
7373
*/
7474
@Generated
75-
private HttpPipeline pipeline;
75+
private HttpClient httpClient;
7676

7777
/**
7878
* {@inheritDoc}.
7979
*/
8080
@Generated
8181
@Override
82-
public MiscellaneousClientBuilder pipeline(HttpPipeline pipeline) {
83-
if (this.pipeline != null && pipeline == null) {
84-
LOGGER.atInfo().log("HttpPipeline is being set to 'null' when it was previously configured.");
85-
}
86-
this.pipeline = pipeline;
82+
public MiscellaneousClientBuilder httpClient(HttpClient httpClient) {
83+
this.httpClient = httpClient;
8784
return this;
8885
}
8986

9087
/*
91-
* The HTTP client used to send the request.
88+
* The HTTP pipeline to send requests through.
9289
*/
9390
@Generated
94-
private HttpClient httpClient;
91+
private HttpPipeline pipeline;
9592

9693
/**
9794
* {@inheritDoc}.
9895
*/
9996
@Generated
10097
@Override
101-
public MiscellaneousClientBuilder httpClient(HttpClient httpClient) {
102-
this.httpClient = httpClient;
98+
public MiscellaneousClientBuilder pipeline(HttpPipeline pipeline) {
99+
if (this.pipeline != null && pipeline == null) {
100+
LOGGER.atInfo().log("HttpPipeline is being set to 'null' when it was previously configured.");
101+
}
102+
this.pipeline = pipeline;
103103
return this;
104104
}
105105

azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/implementation/FormRecognizerClientImplBuilder.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,34 +68,34 @@ public FormRecognizerClientImplBuilder() {
6868
}
6969

7070
/*
71-
* The HTTP pipeline to send requests through.
71+
* The HTTP client used to send the request.
7272
*/
7373
@Generated
74-
private HttpPipeline pipeline;
74+
private HttpClient httpClient;
7575

7676
/**
7777
* {@inheritDoc}.
7878
*/
7979
@Generated
8080
@Override
81-
public FormRecognizerClientImplBuilder pipeline(HttpPipeline pipeline) {
82-
this.pipeline = pipeline;
81+
public FormRecognizerClientImplBuilder httpClient(HttpClient httpClient) {
82+
this.httpClient = httpClient;
8383
return this;
8484
}
8585

8686
/*
87-
* The HTTP client used to send the request.
87+
* The HTTP pipeline to send requests through.
8888
*/
8989
@Generated
90-
private HttpClient httpClient;
90+
private HttpPipeline pipeline;
9191

9292
/**
9393
* {@inheritDoc}.
9494
*/
9595
@Generated
9696
@Override
97-
public FormRecognizerClientImplBuilder httpClient(HttpClient httpClient) {
98-
this.httpClient = httpClient;
97+
public FormRecognizerClientImplBuilder pipeline(HttpPipeline pipeline) {
98+
this.pipeline = pipeline;
9999
return this;
100100
}
101101

azure-dataplane-tests/src/main/java/com/azure/ai/formrecognizer/documentanalysis/implementation/models/AddressValue.java

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
package com.azure.ai.formrecognizer.documentanalysis.implementation.models;
66

77
import com.azure.core.annotation.Fluent;
8+
import com.azure.core.annotation.Generated;
89
import com.azure.json.JsonReader;
910
import com.azure.json.JsonSerializable;
1011
import com.azure.json.JsonToken;
@@ -19,46 +20,55 @@ public final class AddressValue implements JsonSerializable<AddressValue> {
1920
/*
2021
* House or building number.
2122
*/
23+
@Generated
2224
private String houseNumber;
2325

2426
/*
2527
* Post office box number.
2628
*/
29+
@Generated
2730
private String poBox;
2831

2932
/*
3033
* Street name.
3134
*/
35+
@Generated
3236
private String road;
3337

3438
/*
3539
* Name of city, town, village, etc.
3640
*/
41+
@Generated
3742
private String city;
3843

3944
/*
4045
* First-level administrative division.
4146
*/
47+
@Generated
4248
private String state;
4349

4450
/*
4551
* Postal code used for mail sorting.
4652
*/
53+
@Generated
4754
private String postalCode;
4855

4956
/*
5057
* Country/region.
5158
*/
59+
@Generated
5260
private String countryRegion;
5361

5462
/*
5563
* Street-level address, excluding city, state, countryRegion, and postalCode.
5664
*/
65+
@Generated
5766
private String streetAddress;
5867

5968
/**
6069
* Creates an instance of AddressValue class.
6170
*/
71+
@Generated
6272
public AddressValue() {
6373
}
6474

@@ -67,6 +77,7 @@ public AddressValue() {
6777
*
6878
* @return the houseNumber value.
6979
*/
80+
@Generated
7081
public String getHouseNumber() {
7182
return this.houseNumber;
7283
}
@@ -77,6 +88,7 @@ public String getHouseNumber() {
7788
* @param houseNumber the houseNumber value to set.
7889
* @return the AddressValue object itself.
7990
*/
91+
@Generated
8092
public AddressValue setHouseNumber(String houseNumber) {
8193
this.houseNumber = houseNumber;
8294
return this;
@@ -87,6 +99,7 @@ public AddressValue setHouseNumber(String houseNumber) {
8799
*
88100
* @return the poBox value.
89101
*/
102+
@Generated
90103
public String getPoBox() {
91104
return this.poBox;
92105
}
@@ -97,6 +110,7 @@ public String getPoBox() {
97110
* @param poBox the poBox value to set.
98111
* @return the AddressValue object itself.
99112
*/
113+
@Generated
100114
public AddressValue setPoBox(String poBox) {
101115
this.poBox = poBox;
102116
return this;
@@ -107,6 +121,7 @@ public AddressValue setPoBox(String poBox) {
107121
*
108122
* @return the road value.
109123
*/
124+
@Generated
110125
public String getRoad() {
111126
return this.road;
112127
}
@@ -117,6 +132,7 @@ public String getRoad() {
117132
* @param road the road value to set.
118133
* @return the AddressValue object itself.
119134
*/
135+
@Generated
120136
public AddressValue setRoad(String road) {
121137
this.road = road;
122138
return this;
@@ -127,6 +143,7 @@ public AddressValue setRoad(String road) {
127143
*
128144
* @return the city value.
129145
*/
146+
@Generated
130147
public String getCity() {
131148
return this.city;
132149
}
@@ -137,6 +154,7 @@ public String getCity() {
137154
* @param city the city value to set.
138155
* @return the AddressValue object itself.
139156
*/
157+
@Generated
140158
public AddressValue setCity(String city) {
141159
this.city = city;
142160
return this;
@@ -147,6 +165,7 @@ public AddressValue setCity(String city) {
147165
*
148166
* @return the state value.
149167
*/
168+
@Generated
150169
public String getState() {
151170
return this.state;
152171
}
@@ -157,6 +176,7 @@ public String getState() {
157176
* @param state the state value to set.
158177
* @return the AddressValue object itself.
159178
*/
179+
@Generated
160180
public AddressValue setState(String state) {
161181
this.state = state;
162182
return this;
@@ -167,6 +187,7 @@ public AddressValue setState(String state) {
167187
*
168188
* @return the postalCode value.
169189
*/
190+
@Generated
170191
public String getPostalCode() {
171192
return this.postalCode;
172193
}
@@ -177,6 +198,7 @@ public String getPostalCode() {
177198
* @param postalCode the postalCode value to set.
178199
* @return the AddressValue object itself.
179200
*/
201+
@Generated
180202
public AddressValue setPostalCode(String postalCode) {
181203
this.postalCode = postalCode;
182204
return this;
@@ -187,6 +209,7 @@ public AddressValue setPostalCode(String postalCode) {
187209
*
188210
* @return the countryRegion value.
189211
*/
212+
@Generated
190213
public String getCountryRegion() {
191214
return this.countryRegion;
192215
}
@@ -197,6 +220,7 @@ public String getCountryRegion() {
197220
* @param countryRegion the countryRegion value to set.
198221
* @return the AddressValue object itself.
199222
*/
223+
@Generated
200224
public AddressValue setCountryRegion(String countryRegion) {
201225
this.countryRegion = countryRegion;
202226
return this;
@@ -207,6 +231,7 @@ public AddressValue setCountryRegion(String countryRegion) {
207231
*
208232
* @return the streetAddress value.
209233
*/
234+
@Generated
210235
public String getStreetAddress() {
211236
return this.streetAddress;
212237
}
@@ -217,6 +242,7 @@ public String getStreetAddress() {
217242
* @param streetAddress the streetAddress value to set.
218243
* @return the AddressValue object itself.
219244
*/
245+
@Generated
220246
public AddressValue setStreetAddress(String streetAddress) {
221247
this.streetAddress = streetAddress;
222248
return this;
@@ -225,6 +251,7 @@ public AddressValue setStreetAddress(String streetAddress) {
225251
/**
226252
* {@inheritDoc}
227253
*/
254+
@Generated
228255
@Override
229256
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
230257
jsonWriter.writeStartObject();
@@ -247,6 +274,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
247274
* pointing to JSON null.
248275
* @throws IOException If an error occurs while reading the AddressValue.
249276
*/
277+
@Generated
250278
public static AddressValue fromJson(JsonReader jsonReader) throws IOException {
251279
return jsonReader.readObject(reader -> {
252280
AddressValue deserializedAddressValue = new AddressValue();

0 commit comments

Comments
 (0)