Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Aug 23, 2022
1 parent d050b46 commit 861282b
Show file tree
Hide file tree
Showing 1,841 changed files with 24,882 additions and 731,097 deletions.

Large diffs are not rendered by default.

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
Expand Up @@ -59,13 +59,13 @@
* methods:
*
* <ol>
* <li> A "flattened" method. With this type of method, the fields of the request type have been
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li> A "request object" method. This type of method only takes one parameter, a request object,
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand Down Expand Up @@ -437,7 +437,7 @@ public final UnaryCallable<DeleteControlRequest, Empty> deleteControlCallable()
* @param updateMask Indicates which fields in the provided
* [Control][google.cloud.retail.v2.Control] to update. The following are NOT supported:
* <ul>
* <li> [Control.name][google.cloud.retail.v2.Control.name]
* <li>[Control.name][google.cloud.retail.v2.Control.name]
* </ul>
* <p>If not set or empty, all supported fields are updated.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -791,7 +791,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListControlsPagedResponse
extends AbstractPagedListResponse<
ListControlsRequest, ListControlsResponse, Control, ListControlsPage,
ListControlsRequest,
ListControlsResponse,
Control,
ListControlsPage,
ListControlsFixedSizeCollection> {

public static ApiFuture<ListControlsPagedResponse> createAsync(
Expand Down Expand Up @@ -840,7 +843,10 @@ public ApiFuture<ListControlsPage> createPageAsync(

public static class ListControlsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListControlsRequest, ListControlsResponse, Control, ListControlsPage,
ListControlsRequest,
ListControlsResponse,
Control,
ListControlsPage,
ListControlsFixedSizeCollection> {

private ListControlsFixedSizeCollection(List<ListControlsPage> pages, int collectionSize) {
Expand Down
Expand Up @@ -28,7 +28,6 @@
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.retail.v2.stub.ControlServiceStubSettings;
Expand All @@ -44,9 +43,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (retail.googleapis.com) and default port (443) are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (retail.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down

0 comments on commit 861282b

Please sign in to comment.