Class ServiceAttachmentsStubSettings.Builder (1.56.0)

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

Builder for ServiceAttachmentsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ServiceAttachmentsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ServiceAttachmentsStubSettings settings)

protected Builder(ServiceAttachmentsStubSettings settings)
Parameter
Name Description
settings ServiceAttachmentsStubSettings

Methods

aggregatedListSettings()

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

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

Returns
Type Description
Builder<AggregatedListServiceAttachmentsRequest,ServiceAttachmentAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteServiceAttachmentRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteServiceAttachmentRequest,Operation>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyServiceAttachmentRequest,Policy>

getSettings()

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

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

Returns
Type Description
Builder<GetServiceAttachmentRequest,ServiceAttachment>

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertServiceAttachmentRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertServiceAttachmentRequest,Operation>

listSettings()

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

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

Returns
Type Description
Builder<ListServiceAttachmentsRequest,ServiceAttachmentList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
Type Description
Builder<PatchServiceAttachmentRequest,Operation,Operation>

patchSettings()

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

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

Returns
Type Description
Builder<PatchServiceAttachmentRequest,Operation>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyServiceAttachmentRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsServiceAttachmentRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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