Class NetworkAttachmentsSettings.Builder (1.32.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
NameDescription
clientContextClientContext

Builder(NetworkAttachmentsSettings settings)

protected Builder(NetworkAttachmentsSettings settings)
Parameter
NameDescription
settingsNetworkAttachmentsSettings

Builder(NetworkAttachmentsStubSettings.Builder stubSettings)

protected Builder(NetworkAttachmentsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsNetworkAttachmentsStubSettings.Builder

Methods

aggregatedListSettings()

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

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

Returns
TypeDescription
Builder<AggregatedListNetworkAttachmentsRequest,NetworkAttachmentAggregatedList,AggregatedListPagedResponse>

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteNetworkAttachmentRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteNetworkAttachmentRequest,Operation>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyNetworkAttachmentRequest,Policy>

getSettings()

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

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

Returns
TypeDescription
Builder<GetNetworkAttachmentRequest,NetworkAttachment>

getStubSettingsBuilder()

public NetworkAttachmentsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
NetworkAttachmentsStubSettings.Builder

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertNetworkAttachmentRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertNetworkAttachmentRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListNetworkAttachmentsRequest,NetworkAttachmentList,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyNetworkAttachmentRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsNetworkAttachmentRequest,TestPermissionsResponse>