@Generated(value="by gapic-generator") @BetaApi public class GameServerClustersServiceSettings extends ClientSettings<GameServerClustersServiceSettings>
GameServerClustersServiceClient
.
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 getGameServerCluster to 30 seconds:
GameServerClustersServiceSettings.Builder gameServerClustersServiceSettingsBuilder =
GameServerClustersServiceSettings.newBuilder();
gameServerClustersServiceSettingsBuilder
.getGameServerClusterSettings()
.setRetrySettings(
gameServerClustersServiceSettingsBuilder.getGameServerClusterSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GameServerClustersServiceSettings gameServerClustersServiceSettings = gameServerClustersServiceSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
GameServerClustersServiceSettings.Builder
Builder for GameServerClustersServiceSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
GameServerClustersServiceSettings(GameServerClustersServiceSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected GameServerClustersServiceSettings(GameServerClustersServiceSettings.Builder settingsBuilder) throws IOException
IOException
public PagedCallSettings<ListGameServerClustersRequest,ListGameServerClustersResponse,GameServerClustersServiceClient.ListGameServerClustersPagedResponse> listGameServerClustersSettings()
public UnaryCallSettings<GetGameServerClusterRequest,GameServerCluster> getGameServerClusterSettings()
public UnaryCallSettings<CreateGameServerClusterRequest,Operation> createGameServerClusterSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<CreateGameServerClusterRequest,GameServerCluster,Empty> createGameServerClusterOperationSettings()
public UnaryCallSettings<DeleteGameServerClusterRequest,Operation> deleteGameServerClusterSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<DeleteGameServerClusterRequest,Empty,Empty> deleteGameServerClusterOperationSettings()
public UnaryCallSettings<UpdateGameServerClusterRequest,Operation> updateGameServerClusterSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<UpdateGameServerClusterRequest,GameServerCluster,Empty> updateGameServerClusterOperationSettings()
public UnaryCallSettings<PreviewCreateGameServerClusterRequest,PreviewCreateGameServerClusterResponse> previewCreateGameServerClusterSettings()
public UnaryCallSettings<PreviewDeleteGameServerClusterRequest,PreviewDeleteGameServerClusterResponse> previewDeleteGameServerClusterSettings()
public UnaryCallSettings<PreviewUpdateGameServerClusterRequest,PreviewUpdateGameServerClusterResponse> previewUpdateGameServerClusterSettings()
public static final GameServerClustersServiceSettings create(GameServerClustersServiceStubSettings 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 GameServerClustersServiceSettings.Builder newBuilder()
public static GameServerClustersServiceSettings.Builder newBuilder(ClientContext clientContext)
public GameServerClustersServiceSettings.Builder toBuilder()
toBuilder
in class ClientSettings<GameServerClustersServiceSettings>
Copyright © 2020 Google LLC. All rights reserved.