Skip to content

Commit

Permalink
feat: release Control and ServingConfig serivces to v2 version (#522)
Browse files Browse the repository at this point in the history
- [ ] 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: googleapis/googleapis-gen@14169c6
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTQxNjljNjQ1ZTY0MTc1YjQ0MWQ1OTljZGI1MDBjMTdmOTY0NDFiMiJ9
  • Loading branch information
gcf-owl-bot[bot] committed Aug 24, 2022
1 parent 3ad9ecf commit 32a384d
Show file tree
Hide file tree
Showing 228 changed files with 79,481 additions and 572 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,48 @@ public UnaryCallSettings<SetDefaultBranchRequest, Empty> setDefaultBranchSetting
return ((CatalogServiceStubSettings) getStubSettings()).getDefaultBranchSettings();
}

/** Returns the object with the settings used for calls to getCompletionConfig. */
public UnaryCallSettings<GetCompletionConfigRequest, CompletionConfig>
getCompletionConfigSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).getCompletionConfigSettings();
}

/** Returns the object with the settings used for calls to updateCompletionConfig. */
public UnaryCallSettings<UpdateCompletionConfigRequest, CompletionConfig>
updateCompletionConfigSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).updateCompletionConfigSettings();
}

/** Returns the object with the settings used for calls to getAttributesConfig. */
public UnaryCallSettings<GetAttributesConfigRequest, AttributesConfig>
getAttributesConfigSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).getAttributesConfigSettings();
}

/** Returns the object with the settings used for calls to updateAttributesConfig. */
public UnaryCallSettings<UpdateAttributesConfigRequest, AttributesConfig>
updateAttributesConfigSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).updateAttributesConfigSettings();
}

/** Returns the object with the settings used for calls to addCatalogAttribute. */
public UnaryCallSettings<AddCatalogAttributeRequest, AttributesConfig>
addCatalogAttributeSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).addCatalogAttributeSettings();
}

/** Returns the object with the settings used for calls to removeCatalogAttribute. */
public UnaryCallSettings<RemoveCatalogAttributeRequest, AttributesConfig>
removeCatalogAttributeSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).removeCatalogAttributeSettings();
}

/** Returns the object with the settings used for calls to replaceCatalogAttribute. */
public UnaryCallSettings<ReplaceCatalogAttributeRequest, AttributesConfig>
replaceCatalogAttributeSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).replaceCatalogAttributeSettings();
}

public static final CatalogServiceSettings create(CatalogServiceStubSettings stub)
throws IOException {
return new CatalogServiceSettings.Builder(stub.toBuilder()).build();
Expand Down Expand Up @@ -233,6 +275,48 @@ public UnaryCallSettings.Builder<SetDefaultBranchRequest, Empty> setDefaultBranc
return getStubSettingsBuilder().getDefaultBranchSettings();
}

/** Returns the builder for the settings used for calls to getCompletionConfig. */
public UnaryCallSettings.Builder<GetCompletionConfigRequest, CompletionConfig>
getCompletionConfigSettings() {
return getStubSettingsBuilder().getCompletionConfigSettings();
}

/** Returns the builder for the settings used for calls to updateCompletionConfig. */
public UnaryCallSettings.Builder<UpdateCompletionConfigRequest, CompletionConfig>
updateCompletionConfigSettings() {
return getStubSettingsBuilder().updateCompletionConfigSettings();
}

/** Returns the builder for the settings used for calls to getAttributesConfig. */
public UnaryCallSettings.Builder<GetAttributesConfigRequest, AttributesConfig>
getAttributesConfigSettings() {
return getStubSettingsBuilder().getAttributesConfigSettings();
}

/** Returns the builder for the settings used for calls to updateAttributesConfig. */
public UnaryCallSettings.Builder<UpdateAttributesConfigRequest, AttributesConfig>
updateAttributesConfigSettings() {
return getStubSettingsBuilder().updateAttributesConfigSettings();
}

/** Returns the builder for the settings used for calls to addCatalogAttribute. */
public UnaryCallSettings.Builder<AddCatalogAttributeRequest, AttributesConfig>
addCatalogAttributeSettings() {
return getStubSettingsBuilder().addCatalogAttributeSettings();
}

/** Returns the builder for the settings used for calls to removeCatalogAttribute. */
public UnaryCallSettings.Builder<RemoveCatalogAttributeRequest, AttributesConfig>
removeCatalogAttributeSettings() {
return getStubSettingsBuilder().removeCatalogAttributeSettings();
}

/** Returns the builder for the settings used for calls to replaceCatalogAttribute. */
public UnaryCallSettings.Builder<ReplaceCatalogAttributeRequest, AttributesConfig>
replaceCatalogAttributeSettings() {
return getStubSettingsBuilder().replaceCatalogAttributeSettings();
}

@Override
public CatalogServiceSettings build() throws IOException {
return new CatalogServiceSettings(this);
Expand Down
Loading

0 comments on commit 32a384d

Please sign in to comment.