Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 8204fbc

Browse files
feat: release Control and ServingConfig serivces to v2 version (#522)
- [ ] Regenerate this pull request now. feat: release AttributesConfig APIs to v2 version feat: release CompletionConfig APIs to v2 version feat: add local inventories info to the Product resource docs: Improved documentation for Fullfillment and Inventory API in ProductService docs: minor documentation format and typo fixes PiperOrigin-RevId: 469399525 Source-Link: googleapis/googleapis@e9bcb6c Source-Link: https://github.com/googleapis/googleapis-gen/commit/14169c645e64175b441d599cdb500c17f96441b2 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTQxNjljNjQ1ZTY0MTc1YjQ0MWQ1OTljZGI1MDBjMTdmOTY0NDFiMiJ9
1 parent 0da80f8 commit 8204fbc

File tree

228 files changed

+79481
-572
lines changed

Some content is hidden

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

228 files changed

+79481
-572
lines changed

google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CatalogServiceClient.java

+607
Large diffs are not rendered by default.

google-cloud-retail/src/main/java/com/google/cloud/retail/v2/CatalogServiceSettings.java

+84
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,48 @@ public UnaryCallSettings<SetDefaultBranchRequest, Empty> setDefaultBranchSetting
9595
return ((CatalogServiceStubSettings) getStubSettings()).getDefaultBranchSettings();
9696
}
9797

98+
/** Returns the object with the settings used for calls to getCompletionConfig. */
99+
public UnaryCallSettings<GetCompletionConfigRequest, CompletionConfig>
100+
getCompletionConfigSettings() {
101+
return ((CatalogServiceStubSettings) getStubSettings()).getCompletionConfigSettings();
102+
}
103+
104+
/** Returns the object with the settings used for calls to updateCompletionConfig. */
105+
public UnaryCallSettings<UpdateCompletionConfigRequest, CompletionConfig>
106+
updateCompletionConfigSettings() {
107+
return ((CatalogServiceStubSettings) getStubSettings()).updateCompletionConfigSettings();
108+
}
109+
110+
/** Returns the object with the settings used for calls to getAttributesConfig. */
111+
public UnaryCallSettings<GetAttributesConfigRequest, AttributesConfig>
112+
getAttributesConfigSettings() {
113+
return ((CatalogServiceStubSettings) getStubSettings()).getAttributesConfigSettings();
114+
}
115+
116+
/** Returns the object with the settings used for calls to updateAttributesConfig. */
117+
public UnaryCallSettings<UpdateAttributesConfigRequest, AttributesConfig>
118+
updateAttributesConfigSettings() {
119+
return ((CatalogServiceStubSettings) getStubSettings()).updateAttributesConfigSettings();
120+
}
121+
122+
/** Returns the object with the settings used for calls to addCatalogAttribute. */
123+
public UnaryCallSettings<AddCatalogAttributeRequest, AttributesConfig>
124+
addCatalogAttributeSettings() {
125+
return ((CatalogServiceStubSettings) getStubSettings()).addCatalogAttributeSettings();
126+
}
127+
128+
/** Returns the object with the settings used for calls to removeCatalogAttribute. */
129+
public UnaryCallSettings<RemoveCatalogAttributeRequest, AttributesConfig>
130+
removeCatalogAttributeSettings() {
131+
return ((CatalogServiceStubSettings) getStubSettings()).removeCatalogAttributeSettings();
132+
}
133+
134+
/** Returns the object with the settings used for calls to replaceCatalogAttribute. */
135+
public UnaryCallSettings<ReplaceCatalogAttributeRequest, AttributesConfig>
136+
replaceCatalogAttributeSettings() {
137+
return ((CatalogServiceStubSettings) getStubSettings()).replaceCatalogAttributeSettings();
138+
}
139+
98140
public static final CatalogServiceSettings create(CatalogServiceStubSettings stub)
99141
throws IOException {
100142
return new CatalogServiceSettings.Builder(stub.toBuilder()).build();
@@ -233,6 +275,48 @@ public UnaryCallSettings.Builder<SetDefaultBranchRequest, Empty> setDefaultBranc
233275
return getStubSettingsBuilder().getDefaultBranchSettings();
234276
}
235277

278+
/** Returns the builder for the settings used for calls to getCompletionConfig. */
279+
public UnaryCallSettings.Builder<GetCompletionConfigRequest, CompletionConfig>
280+
getCompletionConfigSettings() {
281+
return getStubSettingsBuilder().getCompletionConfigSettings();
282+
}
283+
284+
/** Returns the builder for the settings used for calls to updateCompletionConfig. */
285+
public UnaryCallSettings.Builder<UpdateCompletionConfigRequest, CompletionConfig>
286+
updateCompletionConfigSettings() {
287+
return getStubSettingsBuilder().updateCompletionConfigSettings();
288+
}
289+
290+
/** Returns the builder for the settings used for calls to getAttributesConfig. */
291+
public UnaryCallSettings.Builder<GetAttributesConfigRequest, AttributesConfig>
292+
getAttributesConfigSettings() {
293+
return getStubSettingsBuilder().getAttributesConfigSettings();
294+
}
295+
296+
/** Returns the builder for the settings used for calls to updateAttributesConfig. */
297+
public UnaryCallSettings.Builder<UpdateAttributesConfigRequest, AttributesConfig>
298+
updateAttributesConfigSettings() {
299+
return getStubSettingsBuilder().updateAttributesConfigSettings();
300+
}
301+
302+
/** Returns the builder for the settings used for calls to addCatalogAttribute. */
303+
public UnaryCallSettings.Builder<AddCatalogAttributeRequest, AttributesConfig>
304+
addCatalogAttributeSettings() {
305+
return getStubSettingsBuilder().addCatalogAttributeSettings();
306+
}
307+
308+
/** Returns the builder for the settings used for calls to removeCatalogAttribute. */
309+
public UnaryCallSettings.Builder<RemoveCatalogAttributeRequest, AttributesConfig>
310+
removeCatalogAttributeSettings() {
311+
return getStubSettingsBuilder().removeCatalogAttributeSettings();
312+
}
313+
314+
/** Returns the builder for the settings used for calls to replaceCatalogAttribute. */
315+
public UnaryCallSettings.Builder<ReplaceCatalogAttributeRequest, AttributesConfig>
316+
replaceCatalogAttributeSettings() {
317+
return getStubSettingsBuilder().replaceCatalogAttributeSettings();
318+
}
319+
236320
@Override
237321
public CatalogServiceSettings build() throws IOException {
238322
return new CatalogServiceSettings(this);

0 commit comments

Comments
 (0)