@Generated(value="by gapic-generator") @BetaApi public class NodeTemplateSettings extends ClientSettings<NodeTemplateSettings>
NodeTemplateClient
.
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 deleteNodeTemplate to 30 seconds:
NodeTemplateSettings.Builder nodeTemplateSettingsBuilder =
NodeTemplateSettings.newBuilder();
nodeTemplateSettingsBuilder.deleteNodeTemplateSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
NodeTemplateSettings nodeTemplateSettings = nodeTemplateSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
NodeTemplateSettings.Builder
Builder for NodeTemplateSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
NodeTemplateSettings(NodeTemplateSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected NodeTemplateSettings(NodeTemplateSettings.Builder settingsBuilder) throws IOException
IOException
public PagedCallSettings<AggregatedListNodeTemplatesHttpRequest,NodeTemplateAggregatedList,NodeTemplateClient.AggregatedListNodeTemplatesPagedResponse> aggregatedListNodeTemplatesSettings()
public UnaryCallSettings<DeleteNodeTemplateHttpRequest,Operation> deleteNodeTemplateSettings()
public UnaryCallSettings<GetNodeTemplateHttpRequest,NodeTemplate> getNodeTemplateSettings()
public UnaryCallSettings<GetIamPolicyNodeTemplateHttpRequest,Policy> getIamPolicyNodeTemplateSettings()
public UnaryCallSettings<InsertNodeTemplateHttpRequest,Operation> insertNodeTemplateSettings()
public PagedCallSettings<ListNodeTemplatesHttpRequest,NodeTemplateList,NodeTemplateClient.ListNodeTemplatesPagedResponse> listNodeTemplatesSettings()
public UnaryCallSettings<SetIamPolicyNodeTemplateHttpRequest,Policy> setIamPolicyNodeTemplateSettings()
public UnaryCallSettings<TestIamPermissionsNodeTemplateHttpRequest,TestPermissionsResponse> testIamPermissionsNodeTemplateSettings()
public static final NodeTemplateSettings create(NodeTemplateStubSettings stub) throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static int getDefaultServicePort()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
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 NodeTemplateSettings.Builder newBuilder()
public static NodeTemplateSettings.Builder newBuilder(ClientContext clientContext)
public NodeTemplateSettings.Builder toBuilder()
toBuilder
in class ClientSettings<NodeTemplateSettings>
Copyright © 2019 Google LLC. All rights reserved.