Class NetworkAttachmentsStubSettings.Builder (1.54.0)

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

Builder for NetworkAttachmentsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > NetworkAttachmentsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NetworkAttachmentsStubSettings settings)

protected Builder(NetworkAttachmentsStubSettings settings)
Parameter
Name Description
settings NetworkAttachmentsStubSettings

Methods

aggregatedListSettings()

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

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

Returns
Type Description
Builder<AggregatedListNetworkAttachmentsRequest,NetworkAttachmentAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteNetworkAttachmentRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteNetworkAttachmentRequest,Operation>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyNetworkAttachmentRequest,Policy>

getSettings()

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

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

Returns
Type Description
Builder<GetNetworkAttachmentRequest,NetworkAttachment>

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertNetworkAttachmentRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertNetworkAttachmentRequest,Operation>

listSettings()

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

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

Returns
Type Description
Builder<ListNetworkAttachmentsRequest,NetworkAttachmentList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
Type Description
Builder<PatchNetworkAttachmentRequest,Operation,Operation>

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.

Returns
Type Description
Builder<SetIamPolicyNetworkAttachmentRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsNetworkAttachmentRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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