public static class ProjectStubSettings.Builder extends StubSettings.Builder<ProjectStubSettings,ProjectStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ProjectStubSettings 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(ProjectStubSettings settings)
public ProjectStubSettings.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 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 ProjectStubSettings build() throws IOException
build
in class StubSettings.Builder<ProjectStubSettings,ProjectStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.