@Generated(value="by gapic-generator-java") public class GameServerDeploymentsServiceStubSettings extends com.google.api.gax.rpc.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:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
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) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.OperationCallSettings<CreateGameServerDeploymentRequest,GameServerDeployment,OperationMetadata> |
createGameServerDeploymentOperationSettings()
Returns the object with the settings used for calls to createGameServerDeployment.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateGameServerDeploymentRequest,com.google.longrunning.Operation> |
createGameServerDeploymentSettings()
Returns the object with the settings used for calls to createGameServerDeployment.
|
GameServerDeploymentsServiceStub |
createStub() |
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultGrpcApiClientHeaderProviderBuilder() |
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultHttpJsonApiClientHeaderProviderBuilder() |
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteGameServerDeploymentRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteGameServerDeploymentOperationSettings()
Returns the object with the settings used for calls to deleteGameServerDeployment.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteGameServerDeploymentRequest,com.google.longrunning.Operation> |
deleteGameServerDeploymentSettings()
Returns the object with the settings used for calls to deleteGameServerDeployment.
|
com.google.api.gax.rpc.UnaryCallSettings<FetchDeploymentStateRequest,FetchDeploymentStateResponse> |
fetchDeploymentStateSettings()
Returns the object with the settings used for calls to fetchDeploymentState.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static String |
getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetGameServerDeploymentRolloutRequest,GameServerDeploymentRollout> |
getGameServerDeploymentRolloutSettings()
Returns the object with the settings used for calls to getGameServerDeploymentRollout.
|
com.google.api.gax.rpc.UnaryCallSettings<GetGameServerDeploymentRequest,GameServerDeployment> |
getGameServerDeploymentSettings()
Returns the object with the settings used for calls to getGameServerDeployment.
|
com.google.api.gax.rpc.PagedCallSettings<ListGameServerDeploymentsRequest,ListGameServerDeploymentsResponse,GameServerDeploymentsServiceClient.ListGameServerDeploymentsPagedResponse> |
listGameServerDeploymentsSettings()
Returns the object with the settings used for calls to listGameServerDeployments.
|
static GameServerDeploymentsServiceStubSettings.Builder |
newBuilder()
Returns a new gRPC builder for this class.
|
static GameServerDeploymentsServiceStubSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
static GameServerDeploymentsServiceStubSettings.Builder |
newHttpJsonBuilder()
Returns a new REST builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<PreviewGameServerDeploymentRolloutRequest,PreviewGameServerDeploymentRolloutResponse> |
previewGameServerDeploymentRolloutSettings()
Returns the object with the settings used for calls to previewGameServerDeploymentRollout.
|
GameServerDeploymentsServiceStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateGameServerDeploymentRequest,GameServerDeployment,OperationMetadata> |
updateGameServerDeploymentOperationSettings()
Returns the object with the settings used for calls to updateGameServerDeployment.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateGameServerDeploymentRolloutRequest,GameServerDeployment,OperationMetadata> |
updateGameServerDeploymentRolloutOperationSettings()
Returns the object with the settings used for calls to updateGameServerDeploymentRollout.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateGameServerDeploymentRolloutRequest,com.google.longrunning.Operation> |
updateGameServerDeploymentRolloutSettings()
Returns the object with the settings used for calls to updateGameServerDeploymentRollout.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateGameServerDeploymentRequest,com.google.longrunning.Operation> |
updateGameServerDeploymentSettings()
Returns the object with the settings used for calls to updateGameServerDeployment.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toStringprotected GameServerDeploymentsServiceStubSettings(GameServerDeploymentsServiceStubSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.PagedCallSettings<ListGameServerDeploymentsRequest,ListGameServerDeploymentsResponse,GameServerDeploymentsServiceClient.ListGameServerDeploymentsPagedResponse> listGameServerDeploymentsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetGameServerDeploymentRequest,GameServerDeployment> getGameServerDeploymentSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateGameServerDeploymentRequest,com.google.longrunning.Operation> createGameServerDeploymentSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateGameServerDeploymentRequest,GameServerDeployment,OperationMetadata> createGameServerDeploymentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteGameServerDeploymentRequest,com.google.longrunning.Operation> deleteGameServerDeploymentSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteGameServerDeploymentRequest,com.google.protobuf.Empty,OperationMetadata> deleteGameServerDeploymentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateGameServerDeploymentRequest,com.google.longrunning.Operation> updateGameServerDeploymentSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateGameServerDeploymentRequest,GameServerDeployment,OperationMetadata> updateGameServerDeploymentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetGameServerDeploymentRolloutRequest,GameServerDeploymentRollout> getGameServerDeploymentRolloutSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateGameServerDeploymentRolloutRequest,com.google.longrunning.Operation> updateGameServerDeploymentRolloutSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateGameServerDeploymentRolloutRequest,GameServerDeployment,OperationMetadata> updateGameServerDeploymentRolloutOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<PreviewGameServerDeploymentRolloutRequest,PreviewGameServerDeploymentRolloutResponse> previewGameServerDeploymentRolloutSettings()
public com.google.api.gax.rpc.UnaryCallSettings<FetchDeploymentStateRequest,FetchDeploymentStateResponse> fetchDeploymentStateSettings()
public GameServerDeploymentsServiceStub createStub() throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static String getDefaultMtlsEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static GameServerDeploymentsServiceStubSettings.Builder newBuilder()
public static GameServerDeploymentsServiceStubSettings.Builder newHttpJsonBuilder()
public static GameServerDeploymentsServiceStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public GameServerDeploymentsServiceStubSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.StubSettings<GameServerDeploymentsServiceStubSettings>Copyright © 2023 Google LLC. All rights reserved.