public static class ProjectStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ProjectStubSettings,ProjectStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ProjectStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
ProjectStubSettings.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.
|
ProjectStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ProjectStubSettings settings)
public ProjectStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 ProjectStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<ProjectStubSettings,ProjectStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.