Class SubnetworksStubSettings.Builder (1.45.0)

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

Builder for SubnetworksStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SubnetworksStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SubnetworksStubSettings settings)

protected Builder(SubnetworksStubSettings settings)
Parameter
NameDescription
settingsSubnetworksStubSettings

Methods

aggregatedListSettings()

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

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

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

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

build()

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

deleteOperationSettings()

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

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

deleteSettings()

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

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

expandIpCidrRangeOperationSettings()

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

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

expandIpCidrRangeSettings()

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

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getIamPolicySettings()

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

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

getSettings()

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

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

Returns
TypeDescription
Builder<GetSubnetworkRequest,Subnetwork>

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

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

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

listUsableSettings()

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

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

patchOperationSettings()

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

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

patchSettings()

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

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

setIamPolicySettings()

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

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

setPrivateIpGoogleAccessOperationSettings()

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

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

setPrivateIpGoogleAccessSettings()

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

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

testIamPermissionsSettings()

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

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

unaryMethodSettingsBuilders()

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