Class ProjectsSettings.Builder (1.16.0)

public static class ProjectsSettings.Builder extends ClientSettings.Builder<ProjectsSettings,ProjectsSettings.Builder>

Builder for ProjectsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ProjectsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ProjectsSettings settings)

protected Builder(ProjectsSettings settings)
Parameter
NameDescription
settingsProjectsSettings

Builder(ProjectsStubSettings.Builder stubSettings)

protected Builder(ProjectsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsProjectsStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ProjectsSettings.Builder applyToAllUnaryMethods(ApiFunction<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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ProjectsSettings.Builder

build()

public ProjectsSettings build()
Returns
TypeDescription
ProjectsSettings
Overrides Exceptions
TypeDescription
IOException

disableXpnHostOperationSettings()

public OperationCallSettings.Builder<DisableXpnHostProjectRequest,Operation,Operation> disableXpnHostOperationSettings()

Returns the builder for the settings used for calls to disableXpnHost.

Returns
TypeDescription
Builder<DisableXpnHostProjectRequest,Operation,Operation>

disableXpnHostSettings()

public UnaryCallSettings.Builder<DisableXpnHostProjectRequest,Operation> disableXpnHostSettings()

Returns the builder for the settings used for calls to disableXpnHost.

Returns
TypeDescription
Builder<DisableXpnHostProjectRequest,Operation>

disableXpnResourceOperationSettings()

public OperationCallSettings.Builder<DisableXpnResourceProjectRequest,Operation,Operation> disableXpnResourceOperationSettings()

Returns the builder for the settings used for calls to disableXpnResource.

Returns
TypeDescription
Builder<DisableXpnResourceProjectRequest,Operation,Operation>

disableXpnResourceSettings()

public UnaryCallSettings.Builder<DisableXpnResourceProjectRequest,Operation> disableXpnResourceSettings()

Returns the builder for the settings used for calls to disableXpnResource.

Returns
TypeDescription
Builder<DisableXpnResourceProjectRequest,Operation>

enableXpnHostOperationSettings()

public OperationCallSettings.Builder<EnableXpnHostProjectRequest,Operation,Operation> enableXpnHostOperationSettings()

Returns the builder for the settings used for calls to enableXpnHost.

Returns
TypeDescription
Builder<EnableXpnHostProjectRequest,Operation,Operation>

enableXpnHostSettings()

public UnaryCallSettings.Builder<EnableXpnHostProjectRequest,Operation> enableXpnHostSettings()

Returns the builder for the settings used for calls to enableXpnHost.

Returns
TypeDescription
Builder<EnableXpnHostProjectRequest,Operation>

enableXpnResourceOperationSettings()

public OperationCallSettings.Builder<EnableXpnResourceProjectRequest,Operation,Operation> enableXpnResourceOperationSettings()

Returns the builder for the settings used for calls to enableXpnResource.

Returns
TypeDescription
Builder<EnableXpnResourceProjectRequest,Operation,Operation>

enableXpnResourceSettings()

public UnaryCallSettings.Builder<EnableXpnResourceProjectRequest,Operation> enableXpnResourceSettings()

Returns the builder for the settings used for calls to enableXpnResource.

Returns
TypeDescription
Builder<EnableXpnResourceProjectRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetProjectRequest,Project> getSettings()

Returns the builder for the settings used for calls to get.

Returns
TypeDescription
Builder<GetProjectRequest,Project>

getStubSettingsBuilder()

public ProjectsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ProjectsStubSettings.Builder

getXpnHostSettings()

public UnaryCallSettings.Builder<GetXpnHostProjectRequest,Project> getXpnHostSettings()

Returns the builder for the settings used for calls to getXpnHost.

Returns
TypeDescription
Builder<GetXpnHostProjectRequest,Project>

getXpnResourcesSettings()

public PagedCallSettings.Builder<GetXpnResourcesProjectsRequest,ProjectsGetXpnResources,ProjectsClient.GetXpnResourcesPagedResponse> getXpnResourcesSettings()

Returns the builder for the settings used for calls to getXpnResources.

Returns
TypeDescription
Builder<GetXpnResourcesProjectsRequest,ProjectsGetXpnResources,GetXpnResourcesPagedResponse>

listXpnHostsSettings()

public PagedCallSettings.Builder<ListXpnHostsProjectsRequest,XpnHostList,ProjectsClient.ListXpnHostsPagedResponse> listXpnHostsSettings()

Returns the builder for the settings used for calls to listXpnHosts.

Returns
TypeDescription
Builder<ListXpnHostsProjectsRequest,XpnHostList,ListXpnHostsPagedResponse>

moveDiskOperationSettings()

public OperationCallSettings.Builder<MoveDiskProjectRequest,Operation,Operation> moveDiskOperationSettings()

Returns the builder for the settings used for calls to moveDisk.

Returns
TypeDescription
Builder<MoveDiskProjectRequest,Operation,Operation>

moveDiskSettings()

public UnaryCallSettings.Builder<MoveDiskProjectRequest,Operation> moveDiskSettings()

Returns the builder for the settings used for calls to moveDisk.

Returns
TypeDescription
Builder<MoveDiskProjectRequest,Operation>

moveInstanceOperationSettings()

public OperationCallSettings.Builder<MoveInstanceProjectRequest,Operation,Operation> moveInstanceOperationSettings()

Returns the builder for the settings used for calls to moveInstance.

Returns
TypeDescription
Builder<MoveInstanceProjectRequest,Operation,Operation>

moveInstanceSettings()

public UnaryCallSettings.Builder<MoveInstanceProjectRequest,Operation> moveInstanceSettings()

Returns the builder for the settings used for calls to moveInstance.

Returns
TypeDescription
Builder<MoveInstanceProjectRequest,Operation>

setCommonInstanceMetadataOperationSettings()

public OperationCallSettings.Builder<SetCommonInstanceMetadataProjectRequest,Operation,Operation> setCommonInstanceMetadataOperationSettings()

Returns the builder for the settings used for calls to setCommonInstanceMetadata.

Returns
TypeDescription
Builder<SetCommonInstanceMetadataProjectRequest,Operation,Operation>

setCommonInstanceMetadataSettings()

public UnaryCallSettings.Builder<SetCommonInstanceMetadataProjectRequest,Operation> setCommonInstanceMetadataSettings()

Returns the builder for the settings used for calls to setCommonInstanceMetadata.

Returns
TypeDescription
Builder<SetCommonInstanceMetadataProjectRequest,Operation>

setDefaultNetworkTierOperationSettings()

public OperationCallSettings.Builder<SetDefaultNetworkTierProjectRequest,Operation,Operation> setDefaultNetworkTierOperationSettings()

Returns the builder for the settings used for calls to setDefaultNetworkTier.

Returns
TypeDescription
Builder<SetDefaultNetworkTierProjectRequest,Operation,Operation>

setDefaultNetworkTierSettings()

public UnaryCallSettings.Builder<SetDefaultNetworkTierProjectRequest,Operation> setDefaultNetworkTierSettings()

Returns the builder for the settings used for calls to setDefaultNetworkTier.

Returns
TypeDescription
Builder<SetDefaultNetworkTierProjectRequest,Operation>

setUsageExportBucketOperationSettings()

public OperationCallSettings.Builder<SetUsageExportBucketProjectRequest,Operation,Operation> setUsageExportBucketOperationSettings()

Returns the builder for the settings used for calls to setUsageExportBucket.

Returns
TypeDescription
Builder<SetUsageExportBucketProjectRequest,Operation,Operation>

setUsageExportBucketSettings()

public UnaryCallSettings.Builder<SetUsageExportBucketProjectRequest,Operation> setUsageExportBucketSettings()

Returns the builder for the settings used for calls to setUsageExportBucket.

Returns
TypeDescription
Builder<SetUsageExportBucketProjectRequest,Operation>