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

Commit a9aedea

Browse files
feat(v2): add restricted Retail Search features (#150)
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
1 parent bedc83a commit a9aedea

File tree

152 files changed

+89976
-4002
lines changed

Some content is hidden

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

152 files changed

+89976
-4002
lines changed

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

Lines changed: 352 additions & 3 deletions
Large diffs are not rendered by default.

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import com.google.api.gax.rpc.TransportChannelProvider;
3131
import com.google.api.gax.rpc.UnaryCallSettings;
3232
import com.google.cloud.retail.v2.stub.CatalogServiceStubSettings;
33+
import com.google.protobuf.Empty;
3334
import java.io.IOException;
3435
import java.util.List;
3536
import javax.annotation.Generated;
@@ -80,6 +81,17 @@ public UnaryCallSettings<UpdateCatalogRequest, Catalog> updateCatalogSettings()
8081
return ((CatalogServiceStubSettings) getStubSettings()).updateCatalogSettings();
8182
}
8283

84+
/** Returns the object with the settings used for calls to setDefaultBranch. */
85+
public UnaryCallSettings<SetDefaultBranchRequest, Empty> setDefaultBranchSettings() {
86+
return ((CatalogServiceStubSettings) getStubSettings()).setDefaultBranchSettings();
87+
}
88+
89+
/** Returns the object with the settings used for calls to getDefaultBranch. */
90+
public UnaryCallSettings<GetDefaultBranchRequest, GetDefaultBranchResponse>
91+
getDefaultBranchSettings() {
92+
return ((CatalogServiceStubSettings) getStubSettings()).getDefaultBranchSettings();
93+
}
94+
8395
public static final CatalogServiceSettings create(CatalogServiceStubSettings stub)
8496
throws IOException {
8597
return new CatalogServiceSettings.Builder(stub.toBuilder()).build();
@@ -190,6 +202,17 @@ public UnaryCallSettings.Builder<UpdateCatalogRequest, Catalog> updateCatalogSet
190202
return getStubSettingsBuilder().updateCatalogSettings();
191203
}
192204

205+
/** Returns the builder for the settings used for calls to setDefaultBranch. */
206+
public UnaryCallSettings.Builder<SetDefaultBranchRequest, Empty> setDefaultBranchSettings() {
207+
return getStubSettingsBuilder().setDefaultBranchSettings();
208+
}
209+
210+
/** Returns the builder for the settings used for calls to getDefaultBranch. */
211+
public UnaryCallSettings.Builder<GetDefaultBranchRequest, GetDefaultBranchResponse>
212+
getDefaultBranchSettings() {
213+
return getStubSettingsBuilder().getDefaultBranchSettings();
214+
}
215+
193216
@Override
194217
public CatalogServiceSettings build() throws IOException {
195218
return new CatalogServiceSettings(this);

0 commit comments

Comments
 (0)