public static class ProjectSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ProjectSettings,ProjectSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ProjectSettings settings) |
protected |
Builder(ProjectStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
ProjectSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ProjectSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableXpnHostProjectHttpRequest,Operation> |
disableXpnHostProjectSettings()
Returns the builder for the settings used for calls to disableXpnHostProject.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableXpnResourceProjectHttpRequest,Operation> |
disableXpnResourceProjectSettings()
Returns the builder for the settings used for calls to disableXpnResourceProject.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableXpnHostProjectHttpRequest,Operation> |
enableXpnHostProjectSettings()
Returns the builder for the settings used for calls to enableXpnHostProject.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableXpnResourceProjectHttpRequest,Operation> |
enableXpnResourceProjectSettings()
Returns the builder for the settings used for calls to enableXpnResourceProject.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProjectHttpRequest,Project> |
getProjectSettings()
Returns the builder for the settings used for calls to getProject.
|
ProjectStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetXpnHostProjectHttpRequest,Project> |
getXpnHostProjectSettings()
Returns the builder for the settings used for calls to getXpnHostProject.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<GetXpnResourcesProjectsHttpRequest,ProjectsGetXpnResources,ProjectClient.GetXpnResourcesProjectsPagedResponse> |
getXpnResourcesProjectsSettings()
Returns the builder for the settings used for calls to getXpnResourcesProjects.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListXpnHostsProjectsHttpRequest,XpnHostList,ProjectClient.ListXpnHostsProjectsPagedResponse> |
listXpnHostsProjectsSettings()
Returns the builder for the settings used for calls to listXpnHostsProjects.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveDiskProjectHttpRequest,Operation> |
moveDiskProjectSettings()
Returns the builder for the settings used for calls to moveDiskProject.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveInstanceProjectHttpRequest,Operation> |
moveInstanceProjectSettings()
Returns the builder for the settings used for calls to moveInstanceProject.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetCommonInstanceMetadataProjectHttpRequest,Operation> |
setCommonInstanceMetadataProjectSettings()
Returns the builder for the settings used for calls to setCommonInstanceMetadataProject.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDefaultNetworkTierProjectHttpRequest,Operation> |
setDefaultNetworkTierProjectSettings()
Returns the builder for the settings used for calls to setDefaultNetworkTierProject.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetUsageExportBucketProjectHttpRequest,Operation> |
setUsageExportBucketProjectSettings()
Returns the builder for the settings used for calls to setUsageExportBucketProject.
|
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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ProjectSettings settings)
protected Builder(ProjectStubSettings.Builder stubSettings)
public ProjectStubSettings.Builder getStubSettingsBuilder()
public ProjectSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableXpnHostProjectHttpRequest,Operation> disableXpnHostProjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableXpnResourceProjectHttpRequest,Operation> disableXpnResourceProjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableXpnHostProjectHttpRequest,Operation> enableXpnHostProjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableXpnResourceProjectHttpRequest,Operation> enableXpnResourceProjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProjectHttpRequest,Project> getProjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetXpnHostProjectHttpRequest,Project> getXpnHostProjectSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<GetXpnResourcesProjectsHttpRequest,ProjectsGetXpnResources,ProjectClient.GetXpnResourcesProjectsPagedResponse> getXpnResourcesProjectsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListXpnHostsProjectsHttpRequest,XpnHostList,ProjectClient.ListXpnHostsProjectsPagedResponse> listXpnHostsProjectsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveDiskProjectHttpRequest,Operation> moveDiskProjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveInstanceProjectHttpRequest,Operation> moveInstanceProjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetCommonInstanceMetadataProjectHttpRequest,Operation> setCommonInstanceMetadataProjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDefaultNetworkTierProjectHttpRequest,Operation> setDefaultNetworkTierProjectSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetUsageExportBucketProjectHttpRequest,Operation> setUsageExportBucketProjectSettings()
public ProjectSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<ProjectSettings,ProjectSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.