@Generated(value="by gapic-generator") @BetaApi public class InstanceGroupSettings extends ClientSettings<InstanceGroupSettings>
InstanceGroupClient
.
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 addInstancesInstanceGroup to 30 seconds:
InstanceGroupSettings.Builder instanceGroupSettingsBuilder =
InstanceGroupSettings.newBuilder();
instanceGroupSettingsBuilder.addInstancesInstanceGroupSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
InstanceGroupSettings instanceGroupSettings = instanceGroupSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
InstanceGroupSettings.Builder
Builder for InstanceGroupSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
InstanceGroupSettings(InstanceGroupSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected InstanceGroupSettings(InstanceGroupSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<AddInstancesInstanceGroupHttpRequest,Operation> addInstancesInstanceGroupSettings()
public PagedCallSettings<AggregatedListInstanceGroupsHttpRequest,InstanceGroupAggregatedList,InstanceGroupClient.AggregatedListInstanceGroupsPagedResponse> aggregatedListInstanceGroupsSettings()
public UnaryCallSettings<DeleteInstanceGroupHttpRequest,Operation> deleteInstanceGroupSettings()
public UnaryCallSettings<GetInstanceGroupHttpRequest,InstanceGroup> getInstanceGroupSettings()
public UnaryCallSettings<InsertInstanceGroupHttpRequest,Operation> insertInstanceGroupSettings()
public PagedCallSettings<ListInstanceGroupsHttpRequest,InstanceGroupList,InstanceGroupClient.ListInstanceGroupsPagedResponse> listInstanceGroupsSettings()
public PagedCallSettings<ListInstancesInstanceGroupsHttpRequest,InstanceGroupsListInstances,InstanceGroupClient.ListInstancesInstanceGroupsPagedResponse> listInstancesInstanceGroupsSettings()
public UnaryCallSettings<RemoveInstancesInstanceGroupHttpRequest,Operation> removeInstancesInstanceGroupSettings()
public UnaryCallSettings<SetNamedPortsInstanceGroupHttpRequest,Operation> setNamedPortsInstanceGroupSettings()
public static final InstanceGroupSettings create(InstanceGroupStubSettings 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 InstanceGroupSettings.Builder newBuilder()
public static InstanceGroupSettings.Builder newBuilder(ClientContext clientContext)
public InstanceGroupSettings.Builder toBuilder()
toBuilder
in class ClientSettings<InstanceGroupSettings>
Copyright © 2019 Google LLC. All rights reserved.