Package com.google.cloud.compute.v1
Class ServiceAttachmentsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ServiceAttachmentsSettings,ServiceAttachmentsSettings.Builder>
-
- com.google.cloud.compute.v1.ServiceAttachmentsSettings.Builder
-
- Enclosing class:
- ServiceAttachmentsSettings
public static class ServiceAttachmentsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ServiceAttachmentsSettings,ServiceAttachmentsSettings.Builder>
Builder for ServiceAttachmentsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ServiceAttachmentsSettings settings)
protected
Builder(ServiceAttachmentsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListServiceAttachmentsRequest,ServiceAttachmentAggregatedList,ServiceAttachmentsClient.AggregatedListPagedResponse>
aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.ServiceAttachmentsSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ServiceAttachmentsSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteServiceAttachmentRequest,Operation,Operation>
deleteOperationSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceAttachmentRequest,Operation>
deleteSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyServiceAttachmentRequest,Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceAttachmentRequest,ServiceAttachment>
getSettings()
Returns the builder for the settings used for calls to get.ServiceAttachmentsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<InsertServiceAttachmentRequest,Operation,Operation>
insertOperationSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertServiceAttachmentRequest,Operation>
insertSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.PagedCallSettings.Builder<ListServiceAttachmentsRequest,ServiceAttachmentList,ServiceAttachmentsClient.ListPagedResponse>
listSettings()
Returns the builder for the settings used for calls to list.com.google.api.gax.rpc.OperationCallSettings.Builder<PatchServiceAttachmentRequest,Operation,Operation>
patchOperationSettings()
Returns the builder for the settings used for calls to patch.com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchServiceAttachmentRequest,Operation>
patchSettings()
Returns the builder for the settings used for calls to patch.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyServiceAttachmentRequest,Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsServiceAttachmentRequest,TestPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ServiceAttachmentsSettings settings)
-
Builder
protected Builder(ServiceAttachmentsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ServiceAttachmentsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ServiceAttachmentsSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
aggregatedListSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListServiceAttachmentsRequest,ServiceAttachmentAggregatedList,ServiceAttachmentsClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
-
deleteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceAttachmentRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
-
deleteOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteServiceAttachmentRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
-
getSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceAttachmentRequest,ServiceAttachment> getSettings()
Returns the builder for the settings used for calls to get.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyServiceAttachmentRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
insertSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertServiceAttachmentRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
-
insertOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<InsertServiceAttachmentRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
-
listSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListServiceAttachmentsRequest,ServiceAttachmentList,ServiceAttachmentsClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
-
patchSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchServiceAttachmentRequest,Operation> patchSettings()
Returns the builder for the settings used for calls to patch.
-
patchOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<PatchServiceAttachmentRequest,Operation,Operation> patchOperationSettings()
Returns the builder for the settings used for calls to patch.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyServiceAttachmentRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsServiceAttachmentRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public ServiceAttachmentsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ServiceAttachmentsSettings,ServiceAttachmentsSettings.Builder>
- Throws:
IOException
-
-