@Generated(value="by gapic-generator") @BetaApi public class GameServerDeploymentsServiceSettings extends ClientSettings<GameServerDeploymentsServiceSettings>
GameServerDeploymentsServiceClient
.
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 getGameServerDeployment to 30 seconds:
GameServerDeploymentsServiceSettings.Builder gameServerDeploymentsServiceSettingsBuilder =
GameServerDeploymentsServiceSettings.newBuilder();
gameServerDeploymentsServiceSettingsBuilder
.getGameServerDeploymentSettings()
.setRetrySettings(
gameServerDeploymentsServiceSettingsBuilder.getGameServerDeploymentSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GameServerDeploymentsServiceSettings gameServerDeploymentsServiceSettings = gameServerDeploymentsServiceSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
GameServerDeploymentsServiceSettings.Builder
Builder for GameServerDeploymentsServiceSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
GameServerDeploymentsServiceSettings(GameServerDeploymentsServiceSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected GameServerDeploymentsServiceSettings(GameServerDeploymentsServiceSettings.Builder settingsBuilder) throws IOException
IOException
public PagedCallSettings<ListGameServerDeploymentsRequest,ListGameServerDeploymentsResponse,GameServerDeploymentsServiceClient.ListGameServerDeploymentsPagedResponse> listGameServerDeploymentsSettings()
public UnaryCallSettings<GetGameServerDeploymentRequest,GameServerDeployment> getGameServerDeploymentSettings()
public UnaryCallSettings<CreateGameServerDeploymentRequest,Operation> createGameServerDeploymentSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<CreateGameServerDeploymentRequest,GameServerDeployment,Empty> createGameServerDeploymentOperationSettings()
public UnaryCallSettings<DeleteGameServerDeploymentRequest,Operation> deleteGameServerDeploymentSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<DeleteGameServerDeploymentRequest,Empty,Empty> deleteGameServerDeploymentOperationSettings()
public UnaryCallSettings<UpdateGameServerDeploymentRequest,Operation> updateGameServerDeploymentSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<UpdateGameServerDeploymentRequest,GameServerDeployment,Empty> updateGameServerDeploymentOperationSettings()
public UnaryCallSettings<GetGameServerDeploymentRolloutRequest,GameServerDeploymentRollout> getGameServerDeploymentRolloutSettings()
public UnaryCallSettings<UpdateGameServerDeploymentRolloutRequest,Operation> updateGameServerDeploymentRolloutSettings()
public UnaryCallSettings<PreviewGameServerDeploymentRolloutRequest,PreviewGameServerDeploymentRolloutResponse> previewGameServerDeploymentRolloutSettings()
public UnaryCallSettings<FetchDeploymentStateRequest,FetchDeploymentStateResponse> fetchDeploymentStateSettings()
public static final GameServerDeploymentsServiceSettings create(GameServerDeploymentsServiceStubSettings 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 GameServerDeploymentsServiceSettings.Builder newBuilder()
public static GameServerDeploymentsServiceSettings.Builder newBuilder(ClientContext clientContext)
public GameServerDeploymentsServiceSettings.Builder toBuilder()
toBuilder
in class ClientSettings<GameServerDeploymentsServiceSettings>
Copyright © 2020 Google LLC. All rights reserved.