Class NetworkAttachmentsSettings.Builder (1.68.0)

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

Builder for NetworkAttachmentsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > NetworkAttachmentsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NetworkAttachmentsSettings settings)

protected Builder(NetworkAttachmentsSettings settings)
Parameter
Name Description
settings NetworkAttachmentsSettings

Builder(NetworkAttachmentsStubSettings.Builder stubSettings)

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

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListNetworkAttachmentsRequest,NetworkAttachmentAggregatedList,NetworkAttachmentsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

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

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

build()

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

deleteOperationSettings()

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

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

deleteSettings()

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

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

getIamPolicySettings()

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

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

getSettings()

public UnaryCallSettings.Builder<GetNetworkAttachmentRequest,NetworkAttachment> getSettings()

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

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

public PagedCallSettings.Builder<ListNetworkAttachmentsRequest,NetworkAttachmentList,NetworkAttachmentsClient.ListPagedResponse> listSettings()

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

patchOperationSettings()

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

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

patchSettings()

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

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

Returns
Type Description
Builder<PatchNetworkAttachmentRequest,Operation>

setIamPolicySettings()

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

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

testIamPermissionsSettings()

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

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