@Generated(value="by gapic-generator") @BetaApi public class NetworkEndpointGroupSettings extends ClientSettings<NetworkEndpointGroupSettings>
NetworkEndpointGroupClient
.
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 attachNetworkEndpointsNetworkEndpointGroup to 30 seconds:
NetworkEndpointGroupSettings.Builder networkEndpointGroupSettingsBuilder =
NetworkEndpointGroupSettings.newBuilder();
networkEndpointGroupSettingsBuilder.attachNetworkEndpointsNetworkEndpointGroupSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
NetworkEndpointGroupSettings networkEndpointGroupSettings = networkEndpointGroupSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
NetworkEndpointGroupSettings.Builder
Builder for NetworkEndpointGroupSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
NetworkEndpointGroupSettings(NetworkEndpointGroupSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected NetworkEndpointGroupSettings(NetworkEndpointGroupSettings.Builder settingsBuilder) throws IOException
IOException
public PagedCallSettings<AggregatedListNetworkEndpointGroupsHttpRequest,NetworkEndpointGroupAggregatedList,NetworkEndpointGroupClient.AggregatedListNetworkEndpointGroupsPagedResponse> aggregatedListNetworkEndpointGroupsSettings()
public UnaryCallSettings<AttachNetworkEndpointsNetworkEndpointGroupHttpRequest,Operation> attachNetworkEndpointsNetworkEndpointGroupSettings()
public UnaryCallSettings<DeleteNetworkEndpointGroupHttpRequest,Operation> deleteNetworkEndpointGroupSettings()
public UnaryCallSettings<DetachNetworkEndpointsNetworkEndpointGroupHttpRequest,Operation> detachNetworkEndpointsNetworkEndpointGroupSettings()
public UnaryCallSettings<GetNetworkEndpointGroupHttpRequest,NetworkEndpointGroup> getNetworkEndpointGroupSettings()
public UnaryCallSettings<InsertNetworkEndpointGroupHttpRequest,Operation> insertNetworkEndpointGroupSettings()
public PagedCallSettings<ListNetworkEndpointGroupsHttpRequest,NetworkEndpointGroupList,NetworkEndpointGroupClient.ListNetworkEndpointGroupsPagedResponse> listNetworkEndpointGroupsSettings()
public PagedCallSettings<ListNetworkEndpointsNetworkEndpointGroupsHttpRequest,NetworkEndpointGroupsListNetworkEndpoints,NetworkEndpointGroupClient.ListNetworkEndpointsNetworkEndpointGroupsPagedResponse> listNetworkEndpointsNetworkEndpointGroupsSettings()
public UnaryCallSettings<TestIamPermissionsNetworkEndpointGroupHttpRequest,TestPermissionsResponse> testIamPermissionsNetworkEndpointGroupSettings()
public static final NetworkEndpointGroupSettings create(NetworkEndpointGroupStubSettings 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 NetworkEndpointGroupSettings.Builder newBuilder()
public static NetworkEndpointGroupSettings.Builder newBuilder(ClientContext clientContext)
public NetworkEndpointGroupSettings.Builder toBuilder()
toBuilder
in class ClientSettings<NetworkEndpointGroupSettings>
Copyright © 2019 Google LLC. All rights reserved.