Class ServiceAttachmentsStubSettings.Builder (1.45.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
NameDescription
clientContextClientContext

Builder(ServiceAttachmentsStubSettings settings)

protected Builder(ServiceAttachmentsStubSettings settings)
Parameter
NameDescription
settingsServiceAttachmentsStubSettings

Methods

aggregatedListSettings()

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

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

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

build()

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

deleteOperationSettings()

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

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

deleteSettings()

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

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getIamPolicySettings()

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

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

getSettings()

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

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

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

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

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

patchOperationSettings()

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

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

patchSettings()

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

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

setIamPolicySettings()

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

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

testIamPermissionsSettings()

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

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

unaryMethodSettingsBuilders()

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