@Generated(value="by gapic-generator") @BetaApi public class RealmsServiceSettings extends ClientSettings<RealmsServiceSettings>
RealmsServiceClient
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getRealm to 30 seconds:
RealmsServiceSettings.Builder realmsServiceSettingsBuilder =
RealmsServiceSettings.newBuilder();
realmsServiceSettingsBuilder
.getRealmSettings()
.setRetrySettings(
realmsServiceSettingsBuilder.getRealmSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RealmsServiceSettings realmsServiceSettings = realmsServiceSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
RealmsServiceSettings.Builder
Builder for RealmsServiceSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
RealmsServiceSettings(RealmsServiceSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected RealmsServiceSettings(RealmsServiceSettings.Builder settingsBuilder) throws IOException
IOException
public PagedCallSettings<ListRealmsRequest,ListRealmsResponse,RealmsServiceClient.ListRealmsPagedResponse> listRealmsSettings()
public UnaryCallSettings<GetRealmRequest,Realm> getRealmSettings()
public UnaryCallSettings<CreateRealmRequest,Operation> createRealmSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<CreateRealmRequest,Realm,Empty> createRealmOperationSettings()
public UnaryCallSettings<DeleteRealmRequest,Operation> deleteRealmSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<DeleteRealmRequest,Empty,Empty> deleteRealmOperationSettings()
public UnaryCallSettings<UpdateRealmRequest,Operation> updateRealmSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<UpdateRealmRequest,Realm,Empty> updateRealmOperationSettings()
public UnaryCallSettings<PreviewRealmUpdateRequest,PreviewRealmUpdateResponse> previewRealmUpdateSettings()
public static final RealmsServiceSettings create(RealmsServiceStubSettings stub) throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static RealmsServiceSettings.Builder newBuilder()
public static RealmsServiceSettings.Builder newBuilder(ClientContext clientContext)
public RealmsServiceSettings.Builder toBuilder()
toBuilder
in class ClientSettings<RealmsServiceSettings>
Copyright © 2020 Google LLC. All rights reserved.