public static class SubnetworkStubSettings.Builder extends StubSettings.Builder<SubnetworkStubSettings,SubnetworkStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SubnetworkStubSettings settings) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(SubnetworkStubSettings settings)
public SubnetworkStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<AggregatedListSubnetworksHttpRequest,SubnetworkAggregatedList,SubnetworkClient.AggregatedListSubnetworksPagedResponse> aggregatedListSubnetworksSettings()
public UnaryCallSettings.Builder<DeleteSubnetworkHttpRequest,Operation> deleteSubnetworkSettings()
public UnaryCallSettings.Builder<ExpandIpCidrRangeSubnetworkHttpRequest,Operation> expandIpCidrRangeSubnetworkSettings()
public UnaryCallSettings.Builder<GetSubnetworkHttpRequest,Subnetwork> getSubnetworkSettings()
public UnaryCallSettings.Builder<GetIamPolicySubnetworkHttpRequest,Policy> getIamPolicySubnetworkSettings()
public UnaryCallSettings.Builder<InsertSubnetworkHttpRequest,Operation> insertSubnetworkSettings()
public PagedCallSettings.Builder<ListSubnetworksHttpRequest,SubnetworkList,SubnetworkClient.ListSubnetworksPagedResponse> listSubnetworksSettings()
public PagedCallSettings.Builder<ListUsableSubnetworksHttpRequest,UsableSubnetworksAggregatedList,SubnetworkClient.ListUsableSubnetworksPagedResponse> listUsableSubnetworksSettings()
public UnaryCallSettings.Builder<PatchSubnetworkHttpRequest,Operation> patchSubnetworkSettings()
public UnaryCallSettings.Builder<SetIamPolicySubnetworkHttpRequest,Policy> setIamPolicySubnetworkSettings()
public UnaryCallSettings.Builder<SetPrivateIpGoogleAccessSubnetworkHttpRequest,Operation> setPrivateIpGoogleAccessSubnetworkSettings()
public UnaryCallSettings.Builder<TestIamPermissionsSubnetworkHttpRequest,TestPermissionsResponse> testIamPermissionsSubnetworkSettings()
public SubnetworkStubSettings build() throws IOException
build
in class StubSettings.Builder<SubnetworkStubSettings,SubnetworkStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.