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

Commit

Permalink
feat(v2): add restricted Retail Search features (#150)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/c16bd71c-6830-42f0-96fc-68471d7d7bb8/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 387366941
Source-Link: googleapis/googleapis@cea896d
  • Loading branch information
yoshi-automation authored Jul 30, 2021
1 parent bedc83a commit a9aedea
Show file tree
Hide file tree
Showing 152 changed files with 89,976 additions and 4,002 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.retail.v2.stub.CatalogServiceStubSettings;
import com.google.protobuf.Empty;
import java.io.IOException;
import java.util.List;
import javax.annotation.Generated;
Expand Down Expand Up @@ -80,6 +81,17 @@ public UnaryCallSettings<UpdateCatalogRequest, Catalog> updateCatalogSettings()
return ((CatalogServiceStubSettings) getStubSettings()).updateCatalogSettings();
}

/** Returns the object with the settings used for calls to setDefaultBranch. */
public UnaryCallSettings<SetDefaultBranchRequest, Empty> setDefaultBranchSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).setDefaultBranchSettings();
}

/** Returns the object with the settings used for calls to getDefaultBranch. */
public UnaryCallSettings<GetDefaultBranchRequest, GetDefaultBranchResponse>
getDefaultBranchSettings() {
return ((CatalogServiceStubSettings) getStubSettings()).getDefaultBranchSettings();
}

public static final CatalogServiceSettings create(CatalogServiceStubSettings stub)
throws IOException {
return new CatalogServiceSettings.Builder(stub.toBuilder()).build();
Expand Down Expand Up @@ -190,6 +202,17 @@ public UnaryCallSettings.Builder<UpdateCatalogRequest, Catalog> updateCatalogSet
return getStubSettingsBuilder().updateCatalogSettings();
}

/** Returns the builder for the settings used for calls to setDefaultBranch. */
public UnaryCallSettings.Builder<SetDefaultBranchRequest, Empty> setDefaultBranchSettings() {
return getStubSettingsBuilder().setDefaultBranchSettings();
}

/** Returns the builder for the settings used for calls to getDefaultBranch. */
public UnaryCallSettings.Builder<GetDefaultBranchRequest, GetDefaultBranchResponse>
getDefaultBranchSettings() {
return getStubSettingsBuilder().getDefaultBranchSettings();
}

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

0 comments on commit a9aedea

Please sign in to comment.