@Generated(value="by gapic-generator") @BetaApi public class RealmsServiceStubSettings extends StubSettings<RealmsServiceStubSettings>
RealmsServiceStub
.
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:
RealmsServiceStubSettings.Builder realmsServiceSettingsBuilder =
RealmsServiceStubSettings.newBuilder();
realmsServiceSettingsBuilder
.getRealmSettings()
.setRetrySettings(
realmsServiceSettingsBuilder.getRealmSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
RealmsServiceStubSettings realmsServiceSettings = realmsServiceSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
RealmsServiceStubSettings.Builder
Builder for RealmsServiceStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
RealmsServiceStubSettings(RealmsServiceStubSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected RealmsServiceStubSettings(RealmsServiceStubSettings.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 use by generated code 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 use by generated code 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 use by generated code is not stable yet and may change in the future.") public OperationCallSettings<UpdateRealmRequest,Realm,Empty> updateRealmOperationSettings()
public UnaryCallSettings<PreviewRealmUpdateRequest,PreviewRealmUpdateResponse> previewRealmUpdateSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public RealmsServiceStub createStub() 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 RealmsServiceStubSettings.Builder newBuilder()
public static RealmsServiceStubSettings.Builder newBuilder(ClientContext clientContext)
public RealmsServiceStubSettings.Builder toBuilder()
toBuilder
in class StubSettings<RealmsServiceStubSettings>
Copyright © 2020 Google LLC. All rights reserved.