public static class ProjectSettings.Builder extends ClientSettings.Builder<ProjectSettings,ProjectSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ProjectSettings settings) |
protected |
Builder(ProjectStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(ProjectSettings settings)
protected Builder(ProjectStubSettings.Builder stubSettings)
public ProjectStubSettings.Builder getStubSettingsBuilder()
public ProjectSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<DisableXpnHostProjectHttpRequest,Operation> disableXpnHostProjectSettings()
public UnaryCallSettings.Builder<DisableXpnResourceProjectHttpRequest,Operation> disableXpnResourceProjectSettings()
public UnaryCallSettings.Builder<EnableXpnHostProjectHttpRequest,Operation> enableXpnHostProjectSettings()
public UnaryCallSettings.Builder<EnableXpnResourceProjectHttpRequest,Operation> enableXpnResourceProjectSettings()
public UnaryCallSettings.Builder<GetProjectHttpRequest,Project> getProjectSettings()
public UnaryCallSettings.Builder<GetXpnHostProjectHttpRequest,Project> getXpnHostProjectSettings()
public PagedCallSettings.Builder<GetXpnResourcesProjectsHttpRequest,ProjectsGetXpnResources,ProjectClient.GetXpnResourcesProjectsPagedResponse> getXpnResourcesProjectsSettings()
public PagedCallSettings.Builder<ListXpnHostsProjectsHttpRequest,XpnHostList,ProjectClient.ListXpnHostsProjectsPagedResponse> listXpnHostsProjectsSettings()
public UnaryCallSettings.Builder<MoveDiskProjectHttpRequest,Operation> moveDiskProjectSettings()
public UnaryCallSettings.Builder<MoveInstanceProjectHttpRequest,Operation> moveInstanceProjectSettings()
public UnaryCallSettings.Builder<SetCommonInstanceMetadataProjectHttpRequest,Operation> setCommonInstanceMetadataProjectSettings()
public UnaryCallSettings.Builder<SetDefaultNetworkTierProjectHttpRequest,Operation> setDefaultNetworkTierProjectSettings()
public UnaryCallSettings.Builder<SetUsageExportBucketProjectHttpRequest,Operation> setUsageExportBucketProjectSettings()
public ProjectSettings build() throws IOException
build
in class ClientSettings.Builder<ProjectSettings,ProjectSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.