@Generated(value="by gapic-generator") @BetaApi public class GameServerDeploymentsServiceStubSettings extends StubSettings<GameServerDeploymentsServiceStubSettings>
GameServerDeploymentsServiceStub
.
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:
GameServerDeploymentsServiceStubSettings.Builder gameServerDeploymentsServiceSettingsBuilder =
GameServerDeploymentsServiceStubSettings.newBuilder();
gameServerDeploymentsServiceSettingsBuilder
.getGameServerDeploymentSettings()
.setRetrySettings(
gameServerDeploymentsServiceSettingsBuilder.getGameServerDeploymentSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GameServerDeploymentsServiceStubSettings gameServerDeploymentsServiceSettings = gameServerDeploymentsServiceSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
GameServerDeploymentsServiceStubSettings.Builder
Builder for GameServerDeploymentsServiceStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
GameServerDeploymentsServiceStubSettings(GameServerDeploymentsServiceStubSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected GameServerDeploymentsServiceStubSettings(GameServerDeploymentsServiceStubSettings.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 use by generated code 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 use by generated code 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 use by generated code 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()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public GameServerDeploymentsServiceStub 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 GameServerDeploymentsServiceStubSettings.Builder newBuilder()
public static GameServerDeploymentsServiceStubSettings.Builder newBuilder(ClientContext clientContext)
public GameServerDeploymentsServiceStubSettings.Builder toBuilder()
toBuilder
in class StubSettings<GameServerDeploymentsServiceStubSettings>
Copyright © 2020 Google LLC. All rights reserved.