Package com.google.cloud.compute.v1
Class ProjectsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ProjectsSettings,ProjectsSettings.Builder>
-
- com.google.cloud.compute.v1.ProjectsSettings.Builder
-
- Enclosing class:
- ProjectsSettings
public static class ProjectsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ProjectsSettings,ProjectsSettings.Builder>
Builder for ProjectsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ProjectsSettings settings)
protected
Builder(ProjectsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectsSettings.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.ProjectsSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<DisableXpnHostProjectRequest,Operation,Operation>
disableXpnHostOperationSettings()
Returns the builder for the settings used for calls to disableXpnHost.com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableXpnHostProjectRequest,Operation>
disableXpnHostSettings()
Returns the builder for the settings used for calls to disableXpnHost.com.google.api.gax.rpc.OperationCallSettings.Builder<DisableXpnResourceProjectRequest,Operation,Operation>
disableXpnResourceOperationSettings()
Returns the builder for the settings used for calls to disableXpnResource.com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableXpnResourceProjectRequest,Operation>
disableXpnResourceSettings()
Returns the builder for the settings used for calls to disableXpnResource.com.google.api.gax.rpc.OperationCallSettings.Builder<EnableXpnHostProjectRequest,Operation,Operation>
enableXpnHostOperationSettings()
Returns the builder for the settings used for calls to enableXpnHost.com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableXpnHostProjectRequest,Operation>
enableXpnHostSettings()
Returns the builder for the settings used for calls to enableXpnHost.com.google.api.gax.rpc.OperationCallSettings.Builder<EnableXpnResourceProjectRequest,Operation,Operation>
enableXpnResourceOperationSettings()
Returns the builder for the settings used for calls to enableXpnResource.com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableXpnResourceProjectRequest,Operation>
enableXpnResourceSettings()
Returns the builder for the settings used for calls to enableXpnResource.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProjectRequest,Project>
getSettings()
Returns the builder for the settings used for calls to get.ProjectsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetXpnHostProjectRequest,Project>
getXpnHostSettings()
Returns the builder for the settings used for calls to getXpnHost.com.google.api.gax.rpc.PagedCallSettings.Builder<GetXpnResourcesProjectsRequest,ProjectsGetXpnResources,ProjectsClient.GetXpnResourcesPagedResponse>
getXpnResourcesSettings()
Returns the builder for the settings used for calls to getXpnResources.com.google.api.gax.rpc.PagedCallSettings.Builder<ListXpnHostsProjectsRequest,XpnHostList,ProjectsClient.ListXpnHostsPagedResponse>
listXpnHostsSettings()
Returns the builder for the settings used for calls to listXpnHosts.com.google.api.gax.rpc.OperationCallSettings.Builder<MoveDiskProjectRequest,Operation,Operation>
moveDiskOperationSettings()
Returns the builder for the settings used for calls to moveDisk.com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveDiskProjectRequest,Operation>
moveDiskSettings()
Returns the builder for the settings used for calls to moveDisk.com.google.api.gax.rpc.OperationCallSettings.Builder<MoveInstanceProjectRequest,Operation,Operation>
moveInstanceOperationSettings()
Returns the builder for the settings used for calls to moveInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveInstanceProjectRequest,Operation>
moveInstanceSettings()
Returns the builder for the settings used for calls to moveInstance.com.google.api.gax.rpc.OperationCallSettings.Builder<SetCommonInstanceMetadataProjectRequest,Operation,Operation>
setCommonInstanceMetadataOperationSettings()
Returns the builder for the settings used for calls to setCommonInstanceMetadata.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetCommonInstanceMetadataProjectRequest,Operation>
setCommonInstanceMetadataSettings()
Returns the builder for the settings used for calls to setCommonInstanceMetadata.com.google.api.gax.rpc.OperationCallSettings.Builder<SetDefaultNetworkTierProjectRequest,Operation,Operation>
setDefaultNetworkTierOperationSettings()
Returns the builder for the settings used for calls to setDefaultNetworkTier.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDefaultNetworkTierProjectRequest,Operation>
setDefaultNetworkTierSettings()
Returns the builder for the settings used for calls to setDefaultNetworkTier.com.google.api.gax.rpc.OperationCallSettings.Builder<SetUsageExportBucketProjectRequest,Operation,Operation>
setUsageExportBucketOperationSettings()
Returns the builder for the settings used for calls to setUsageExportBucket.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetUsageExportBucketProjectRequest,Operation>
setUsageExportBucketSettings()
Returns the builder for the settings used for calls to setUsageExportBucket.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ProjectsSettings settings)
-
Builder
protected Builder(ProjectsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ProjectsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ProjectsSettings.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.Note: This method does not support applying settings to streaming methods.
-
disableXpnHostSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableXpnHostProjectRequest,Operation> disableXpnHostSettings()
Returns the builder for the settings used for calls to disableXpnHost.
-
disableXpnHostOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DisableXpnHostProjectRequest,Operation,Operation> disableXpnHostOperationSettings()
Returns the builder for the settings used for calls to disableXpnHost.
-
disableXpnResourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableXpnResourceProjectRequest,Operation> disableXpnResourceSettings()
Returns the builder for the settings used for calls to disableXpnResource.
-
disableXpnResourceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DisableXpnResourceProjectRequest,Operation,Operation> disableXpnResourceOperationSettings()
Returns the builder for the settings used for calls to disableXpnResource.
-
enableXpnHostSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableXpnHostProjectRequest,Operation> enableXpnHostSettings()
Returns the builder for the settings used for calls to enableXpnHost.
-
enableXpnHostOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<EnableXpnHostProjectRequest,Operation,Operation> enableXpnHostOperationSettings()
Returns the builder for the settings used for calls to enableXpnHost.
-
enableXpnResourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableXpnResourceProjectRequest,Operation> enableXpnResourceSettings()
Returns the builder for the settings used for calls to enableXpnResource.
-
enableXpnResourceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<EnableXpnResourceProjectRequest,Operation,Operation> enableXpnResourceOperationSettings()
Returns the builder for the settings used for calls to enableXpnResource.
-
getSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProjectRequest,Project> getSettings()
Returns the builder for the settings used for calls to get.
-
getXpnHostSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetXpnHostProjectRequest,Project> getXpnHostSettings()
Returns the builder for the settings used for calls to getXpnHost.
-
getXpnResourcesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<GetXpnResourcesProjectsRequest,ProjectsGetXpnResources,ProjectsClient.GetXpnResourcesPagedResponse> getXpnResourcesSettings()
Returns the builder for the settings used for calls to getXpnResources.
-
listXpnHostsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListXpnHostsProjectsRequest,XpnHostList,ProjectsClient.ListXpnHostsPagedResponse> listXpnHostsSettings()
Returns the builder for the settings used for calls to listXpnHosts.
-
moveDiskSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveDiskProjectRequest,Operation> moveDiskSettings()
Returns the builder for the settings used for calls to moveDisk.
-
moveDiskOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<MoveDiskProjectRequest,Operation,Operation> moveDiskOperationSettings()
Returns the builder for the settings used for calls to moveDisk.
-
moveInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveInstanceProjectRequest,Operation> moveInstanceSettings()
Returns the builder for the settings used for calls to moveInstance.
-
moveInstanceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<MoveInstanceProjectRequest,Operation,Operation> moveInstanceOperationSettings()
Returns the builder for the settings used for calls to moveInstance.
-
setCommonInstanceMetadataSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetCommonInstanceMetadataProjectRequest,Operation> setCommonInstanceMetadataSettings()
Returns the builder for the settings used for calls to setCommonInstanceMetadata.
-
setCommonInstanceMetadataOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SetCommonInstanceMetadataProjectRequest,Operation,Operation> setCommonInstanceMetadataOperationSettings()
Returns the builder for the settings used for calls to setCommonInstanceMetadata.
-
setDefaultNetworkTierSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetDefaultNetworkTierProjectRequest,Operation> setDefaultNetworkTierSettings()
Returns the builder for the settings used for calls to setDefaultNetworkTier.
-
setDefaultNetworkTierOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SetDefaultNetworkTierProjectRequest,Operation,Operation> setDefaultNetworkTierOperationSettings()
Returns the builder for the settings used for calls to setDefaultNetworkTier.
-
setUsageExportBucketSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetUsageExportBucketProjectRequest,Operation> setUsageExportBucketSettings()
Returns the builder for the settings used for calls to setUsageExportBucket.
-
setUsageExportBucketOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SetUsageExportBucketProjectRequest,Operation,Operation> setUsageExportBucketOperationSettings()
Returns the builder for the settings used for calls to setUsageExportBucket.
-
build
public ProjectsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ProjectsSettings,ProjectsSettings.Builder>
- Throws:
IOException
-
-