use of com.google.cloud.example.library.v1.stub.LibraryServiceStubSettings in project gapic-generator-java by googleapis.
the class SyncCreateShelf method syncCreateShelf.
public static void syncCreateShelf() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
LibraryServiceStubSettings.Builder libraryServiceSettingsBuilder = LibraryServiceStubSettings.newBuilder();
libraryServiceSettingsBuilder.createShelfSettings().setRetrySettings(libraryServiceSettingsBuilder.createShelfSettings().getRetrySettings().toBuilder().setTotalTimeout(Duration.ofSeconds(30)).build());
LibraryServiceStubSettings libraryServiceSettings = libraryServiceSettingsBuilder.build();
}
Aggregations