@Generated(value="by gapic-generator") @BetaApi public class SubnetworkSettings extends ClientSettings<SubnetworkSettings>
SubnetworkClient
.
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 deleteSubnetwork to 30 seconds:
SubnetworkSettings.Builder subnetworkSettingsBuilder =
SubnetworkSettings.newBuilder();
subnetworkSettingsBuilder.deleteSubnetworkSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
SubnetworkSettings subnetworkSettings = subnetworkSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
SubnetworkSettings.Builder
Builder for SubnetworkSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
SubnetworkSettings(SubnetworkSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected SubnetworkSettings(SubnetworkSettings.Builder settingsBuilder) throws IOException
IOException
public PagedCallSettings<AggregatedListSubnetworksHttpRequest,SubnetworkAggregatedList,SubnetworkClient.AggregatedListSubnetworksPagedResponse> aggregatedListSubnetworksSettings()
public UnaryCallSettings<DeleteSubnetworkHttpRequest,Operation> deleteSubnetworkSettings()
public UnaryCallSettings<ExpandIpCidrRangeSubnetworkHttpRequest,Operation> expandIpCidrRangeSubnetworkSettings()
public UnaryCallSettings<GetSubnetworkHttpRequest,Subnetwork> getSubnetworkSettings()
public UnaryCallSettings<GetIamPolicySubnetworkHttpRequest,Policy> getIamPolicySubnetworkSettings()
public UnaryCallSettings<InsertSubnetworkHttpRequest,Operation> insertSubnetworkSettings()
public PagedCallSettings<ListSubnetworksHttpRequest,SubnetworkList,SubnetworkClient.ListSubnetworksPagedResponse> listSubnetworksSettings()
public PagedCallSettings<ListUsableSubnetworksHttpRequest,UsableSubnetworksAggregatedList,SubnetworkClient.ListUsableSubnetworksPagedResponse> listUsableSubnetworksSettings()
public UnaryCallSettings<PatchSubnetworkHttpRequest,Operation> patchSubnetworkSettings()
public UnaryCallSettings<SetIamPolicySubnetworkHttpRequest,Policy> setIamPolicySubnetworkSettings()
public UnaryCallSettings<SetPrivateIpGoogleAccessSubnetworkHttpRequest,Operation> setPrivateIpGoogleAccessSubnetworkSettings()
public UnaryCallSettings<TestIamPermissionsSubnetworkHttpRequest,TestPermissionsResponse> testIamPermissionsSubnetworkSettings()
public static final SubnetworkSettings create(SubnetworkStubSettings 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 SubnetworkSettings.Builder newBuilder()
public static SubnetworkSettings.Builder newBuilder(ClientContext clientContext)
public SubnetworkSettings.Builder toBuilder()
toBuilder
in class ClientSettings<SubnetworkSettings>
Copyright © 2019 Google LLC. All rights reserved.