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