@Generated(value="by gapic-generator") @BetaApi public class NodeGroupSettings extends ClientSettings<NodeGroupSettings>
NodeGroupClient
.
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 addNodesNodeGroup to 30 seconds:
NodeGroupSettings.Builder nodeGroupSettingsBuilder =
NodeGroupSettings.newBuilder();
nodeGroupSettingsBuilder.addNodesNodeGroupSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
NodeGroupSettings nodeGroupSettings = nodeGroupSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
NodeGroupSettings.Builder
Builder for NodeGroupSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
NodeGroupSettings(NodeGroupSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected NodeGroupSettings(NodeGroupSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<AddNodesNodeGroupHttpRequest,Operation> addNodesNodeGroupSettings()
public PagedCallSettings<AggregatedListNodeGroupsHttpRequest,NodeGroupAggregatedList,NodeGroupClient.AggregatedListNodeGroupsPagedResponse> aggregatedListNodeGroupsSettings()
public UnaryCallSettings<DeleteNodeGroupHttpRequest,Operation> deleteNodeGroupSettings()
public UnaryCallSettings<DeleteNodesNodeGroupHttpRequest,Operation> deleteNodesNodeGroupSettings()
public UnaryCallSettings<GetNodeGroupHttpRequest,NodeGroup> getNodeGroupSettings()
public UnaryCallSettings<GetIamPolicyNodeGroupHttpRequest,Policy> getIamPolicyNodeGroupSettings()
public UnaryCallSettings<InsertNodeGroupHttpRequest,Operation> insertNodeGroupSettings()
public PagedCallSettings<ListNodeGroupsHttpRequest,NodeGroupList,NodeGroupClient.ListNodeGroupsPagedResponse> listNodeGroupsSettings()
public PagedCallSettings<ListNodesNodeGroupsHttpRequest,NodeGroupsListNodes,NodeGroupClient.ListNodesNodeGroupsPagedResponse> listNodesNodeGroupsSettings()
public UnaryCallSettings<SetIamPolicyNodeGroupHttpRequest,Policy> setIamPolicyNodeGroupSettings()
public UnaryCallSettings<SetNodeTemplateNodeGroupHttpRequest,Operation> setNodeTemplateNodeGroupSettings()
public UnaryCallSettings<TestIamPermissionsNodeGroupHttpRequest,TestPermissionsResponse> testIamPermissionsNodeGroupSettings()
public static final NodeGroupSettings create(NodeGroupStubSettings 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 NodeGroupSettings.Builder newBuilder()
public static NodeGroupSettings.Builder newBuilder(ClientContext clientContext)
public NodeGroupSettings.Builder toBuilder()
toBuilder
in class ClientSettings<NodeGroupSettings>
Copyright © 2019 Google LLC. All rights reserved.