|
30 | 30 | import com.google.api.gax.rpc.TransportChannelProvider; |
31 | 31 | import com.google.api.gax.rpc.UnaryCallSettings; |
32 | 32 | import com.google.cloud.retail.v2.stub.CatalogServiceStubSettings; |
| 33 | +import com.google.protobuf.Empty; |
33 | 34 | import java.io.IOException; |
34 | 35 | import java.util.List; |
35 | 36 | import javax.annotation.Generated; |
@@ -80,6 +81,17 @@ public UnaryCallSettings<UpdateCatalogRequest, Catalog> updateCatalogSettings() |
80 | 81 | return ((CatalogServiceStubSettings) getStubSettings()).updateCatalogSettings(); |
81 | 82 | } |
82 | 83 |
|
| 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 | + |
83 | 95 | public static final CatalogServiceSettings create(CatalogServiceStubSettings stub) |
84 | 96 | throws IOException { |
85 | 97 | return new CatalogServiceSettings.Builder(stub.toBuilder()).build(); |
@@ -190,6 +202,17 @@ public UnaryCallSettings.Builder<UpdateCatalogRequest, Catalog> updateCatalogSet |
190 | 202 | return getStubSettingsBuilder().updateCatalogSettings(); |
191 | 203 | } |
192 | 204 |
|
| 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 | + |
193 | 216 | @Override |
194 | 217 | public CatalogServiceSettings build() throws IOException { |
195 | 218 | return new CatalogServiceSettings(this); |
|
0 commit comments