Class SubnetworksSettings.Builder (1.54.0)

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

Builder for SubnetworksSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SubnetworksSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SubnetworksSettings settings)

protected Builder(SubnetworksSettings settings)
Parameter
Name Description
settings SubnetworksSettings

Builder(SubnetworksStubSettings.Builder stubSettings)

protected Builder(SubnetworksStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings SubnetworksStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListSubnetworksRequest,SubnetworkAggregatedList,SubnetworksClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListSubnetworksRequest,SubnetworkAggregatedList,AggregatedListPagedResponse>

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

public SubnetworksSettings.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
SubnetworksSettings.Builder

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteSubnetworkRequest,Operation,Operation> deleteOperationSettings()

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

Returns
Type Description
Builder<DeleteSubnetworkRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteSubnetworkRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeleteSubnetworkRequest,Operation>

expandIpCidrRangeOperationSettings()

public OperationCallSettings.Builder<ExpandIpCidrRangeSubnetworkRequest,Operation,Operation> expandIpCidrRangeOperationSettings()

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

Returns
Type Description
Builder<ExpandIpCidrRangeSubnetworkRequest,Operation,Operation>

expandIpCidrRangeSettings()

public UnaryCallSettings.Builder<ExpandIpCidrRangeSubnetworkRequest,Operation> expandIpCidrRangeSettings()

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

Returns
Type Description
Builder<ExpandIpCidrRangeSubnetworkRequest,Operation>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicySubnetworkRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<GetIamPolicySubnetworkRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetSubnetworkRequest,Subnetwork> getSettings()

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

Returns
Type Description
Builder<GetSubnetworkRequest,Subnetwork>

getStubSettingsBuilder()

public SubnetworksStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
SubnetworksStubSettings.Builder

insertOperationSettings()

public OperationCallSettings.Builder<InsertSubnetworkRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertSubnetworkRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertSubnetworkRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertSubnetworkRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListSubnetworksRequest,SubnetworkList,SubnetworksClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListSubnetworksRequest,SubnetworkList,ListPagedResponse>

listUsableSettings()

public PagedCallSettings.Builder<ListUsableSubnetworksRequest,UsableSubnetworksAggregatedList,SubnetworksClient.ListUsablePagedResponse> listUsableSettings()

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

Returns
Type Description
Builder<ListUsableSubnetworksRequest,UsableSubnetworksAggregatedList,ListUsablePagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchSubnetworkRequest,Operation,Operation> patchOperationSettings()

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

Returns
Type Description
Builder<PatchSubnetworkRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchSubnetworkRequest,Operation> patchSettings()

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

Returns
Type Description
Builder<PatchSubnetworkRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicySubnetworkRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<SetIamPolicySubnetworkRequest,Policy>

setPrivateIpGoogleAccessOperationSettings()

public OperationCallSettings.Builder<SetPrivateIpGoogleAccessSubnetworkRequest,Operation,Operation> setPrivateIpGoogleAccessOperationSettings()

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

Returns
Type Description
Builder<SetPrivateIpGoogleAccessSubnetworkRequest,Operation,Operation>

setPrivateIpGoogleAccessSettings()

public UnaryCallSettings.Builder<SetPrivateIpGoogleAccessSubnetworkRequest,Operation> setPrivateIpGoogleAccessSettings()

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

Returns
Type Description
Builder<SetPrivateIpGoogleAccessSubnetworkRequest,Operation>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsSubnetworkRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<TestIamPermissionsSubnetworkRequest,TestPermissionsResponse>