Class SubnetworksSettings.Builder (1.15.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
NameDescription
clientContextClientContext

Builder(SubnetworksSettings settings)

protected Builder(SubnetworksSettings settings)
Parameter
NameDescription
settingsSubnetworksSettings

Builder(SubnetworksStubSettings.Builder stubSettings)

protected Builder(SubnetworksStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSubnetworksStubSettings.Builder

Methods

aggregatedListSettings()

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

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

Returns

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns

build()

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

deleteOperationSettings()

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

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

Returns

deleteSettings()

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

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

Returns

expandIpCidrRangeOperationSettings()

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

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

Returns

expandIpCidrRangeSettings()

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

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

Returns

getIamPolicySettings()

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

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

Returns

getSettings()

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

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

Returns

getStubSettingsBuilder()

public SubnetworksStubSettings.Builder getStubSettingsBuilder()
Returns

insertOperationSettings()

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

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

Returns

insertSettings()

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

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

Returns

listSettings()

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

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

Returns

listUsableSettings()

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

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

Returns

patchOperationSettings()

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

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

Returns

patchSettings()

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

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

Returns

setIamPolicySettings()

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

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

Returns

setPrivateIpGoogleAccessOperationSettings()

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

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

Returns

setPrivateIpGoogleAccessSettings()

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

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

Returns

testIamPermissionsSettings()

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

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

Returns