Class ServiceAttachmentsSettings.Builder (1.23.0)

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

Builder for ServiceAttachmentsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ServiceAttachmentsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ServiceAttachmentsSettings settings)

protected Builder(ServiceAttachmentsSettings settings)
Parameter
NameDescription
settingsServiceAttachmentsSettings

Builder(ServiceAttachmentsStubSettings.Builder stubSettings)

protected Builder(ServiceAttachmentsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsServiceAttachmentsStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListServiceAttachmentsRequest,ServiceAttachmentAggregatedList,ServiceAttachmentsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
TypeDescription
Builder<AggregatedListServiceAttachmentsRequest,ServiceAttachmentAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteServiceAttachmentRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteServiceAttachmentRequest,Operation>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyServiceAttachmentRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetServiceAttachmentRequest,ServiceAttachment> getSettings()

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

Returns
TypeDescription
Builder<GetServiceAttachmentRequest,ServiceAttachment>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertServiceAttachmentRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertServiceAttachmentRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListServiceAttachmentsRequest,ServiceAttachmentList,ServiceAttachmentsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListServiceAttachmentsRequest,ServiceAttachmentList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchServiceAttachmentRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchServiceAttachmentRequest,Operation>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyServiceAttachmentRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsServiceAttachmentRequest,TestPermissionsResponse>