Class ProjectsStubSettings.Builder (1.65.0)

public static class ProjectsStubSettings.Builder extends StubSettings.Builder<ProjectsStubSettings,ProjectsStubSettings.Builder>

Builder for ProjectsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ProjectsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ProjectsStubSettings settings)

protected Builder(ProjectsStubSettings settings)
Parameter
Name Description
settings ProjectsStubSettings

Methods

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

public ProjectsStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ProjectsStubSettings.Builder

build()

public ProjectsStubSettings build()
Returns
Type Description
ProjectsStubSettings
Overrides
Exceptions
Type Description
IOException

disableXpnHostOperationSettings()

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

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

Returns
Type Description
Builder<DisableXpnHostProjectRequest,Operation,Operation>

disableXpnHostSettings()

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

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

Returns
Type Description
Builder<DisableXpnHostProjectRequest,Operation>

disableXpnResourceOperationSettings()

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

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

Returns
Type Description
Builder<DisableXpnResourceProjectRequest,Operation,Operation>

disableXpnResourceSettings()

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

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

Returns
Type Description
Builder<DisableXpnResourceProjectRequest,Operation>

enableXpnHostOperationSettings()

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

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

Returns
Type Description
Builder<EnableXpnHostProjectRequest,Operation,Operation>

enableXpnHostSettings()

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

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

Returns
Type Description
Builder<EnableXpnHostProjectRequest,Operation>

enableXpnResourceOperationSettings()

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

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

Returns
Type Description
Builder<EnableXpnResourceProjectRequest,Operation,Operation>

enableXpnResourceSettings()

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

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

Returns
Type Description
Builder<EnableXpnResourceProjectRequest,Operation>

getSettings()

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

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

Returns
Type Description
Builder<GetProjectRequest,Project>

getXpnHostSettings()

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

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

Returns
Type Description
Builder<GetXpnHostProjectRequest,Project>

getXpnResourcesSettings()

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

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

Returns
Type Description
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
Type Description
Builder<ListXpnHostsProjectsRequest,XpnHostList,ListXpnHostsPagedResponse>

moveDiskOperationSettings()

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

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

Returns
Type Description
Builder<MoveDiskProjectRequest,Operation,Operation>

moveDiskSettings()

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

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

Returns
Type Description
Builder<MoveDiskProjectRequest,Operation>

moveInstanceOperationSettings()

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

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

Returns
Type Description
Builder<MoveInstanceProjectRequest,Operation,Operation>

moveInstanceSettings()

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

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

Returns
Type Description
Builder<MoveInstanceProjectRequest,Operation>

setCloudArmorTierOperationSettings()

public OperationCallSettings.Builder<SetCloudArmorTierProjectRequest,Operation,Operation> setCloudArmorTierOperationSettings()

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

Returns
Type Description
Builder<SetCloudArmorTierProjectRequest,Operation,Operation>

setCloudArmorTierSettings()

public UnaryCallSettings.Builder<SetCloudArmorTierProjectRequest,Operation> setCloudArmorTierSettings()

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

Returns
Type Description
Builder<SetCloudArmorTierProjectRequest,Operation>

setCommonInstanceMetadataOperationSettings()

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

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

Returns
Type Description
Builder<SetCommonInstanceMetadataProjectRequest,Operation,Operation>

setCommonInstanceMetadataSettings()

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

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

Returns
Type Description
Builder<SetCommonInstanceMetadataProjectRequest,Operation>

setDefaultNetworkTierOperationSettings()

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

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

Returns
Type Description
Builder<SetDefaultNetworkTierProjectRequest,Operation,Operation>

setDefaultNetworkTierSettings()

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

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

Returns
Type Description
Builder<SetDefaultNetworkTierProjectRequest,Operation>

setUsageExportBucketOperationSettings()

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

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

Returns
Type Description
Builder<SetUsageExportBucketProjectRequest,Operation,Operation>

setUsageExportBucketSettings()

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

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

Returns
Type Description
Builder<SetUsageExportBucketProjectRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>