Package com.google.cloud.compute.v1.stub
Class ProjectsStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ProjectsStubSettings,ProjectsStubSettings.Builder>
-
- com.google.cloud.compute.v1.stub.ProjectsStubSettings.Builder
-
- Enclosing class:
- ProjectsStubSettings
public static class ProjectsStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ProjectsStubSettings,ProjectsStubSettings.Builder>
Builder for ProjectsStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ProjectsStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectsStubSettings.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.ProjectsStubSettings
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.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.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ProjectsStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ProjectsStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
disableXpnHostSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableXpnHostProjectRequest,Operation> disableXpnHostSettings()
Returns the builder for the settings used for calls to disableXpnHost.
-
disableXpnHostOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 ProjectsStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ProjectsStubSettings,ProjectsStubSettings.Builder>
- Throws:
IOException
-
-