Package com.google.cloud.compute.v1
Class NetworkAttachmentsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<NetworkAttachmentsSettings,NetworkAttachmentsSettings.Builder>
-
- com.google.cloud.compute.v1.NetworkAttachmentsSettings.Builder
-
- Enclosing class:
- NetworkAttachmentsSettings
public static class NetworkAttachmentsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<NetworkAttachmentsSettings,NetworkAttachmentsSettings.Builder>
Builder for NetworkAttachmentsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(NetworkAttachmentsSettings settings)
protected
Builder(NetworkAttachmentsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListNetworkAttachmentsRequest,NetworkAttachmentAggregatedList,NetworkAttachmentsClient.AggregatedListPagedResponse>
aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.NetworkAttachmentsSettings.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.NetworkAttachmentsSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteNetworkAttachmentRequest,Operation,Operation>
deleteOperationSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNetworkAttachmentRequest,Operation>
deleteSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyNetworkAttachmentRequest,Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNetworkAttachmentRequest,NetworkAttachment>
getSettings()
Returns the builder for the settings used for calls to get.NetworkAttachmentsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<InsertNetworkAttachmentRequest,Operation,Operation>
insertOperationSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertNetworkAttachmentRequest,Operation>
insertSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.PagedCallSettings.Builder<ListNetworkAttachmentsRequest,NetworkAttachmentList,NetworkAttachmentsClient.ListPagedResponse>
listSettings()
Returns the builder for the settings used for calls to list.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyNetworkAttachmentRequest,Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsNetworkAttachmentRequest,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(NetworkAttachmentsSettings settings)
-
Builder
protected Builder(NetworkAttachmentsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public NetworkAttachmentsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public NetworkAttachmentsSettings.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<AggregatedListNetworkAttachmentsRequest,NetworkAttachmentAggregatedList,NetworkAttachmentsClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
-
deleteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNetworkAttachmentRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
-
deleteOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteNetworkAttachmentRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
-
getSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNetworkAttachmentRequest,NetworkAttachment> getSettings()
Returns the builder for the settings used for calls to get.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyNetworkAttachmentRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
insertSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertNetworkAttachmentRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
-
insertOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<InsertNetworkAttachmentRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
-
listSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNetworkAttachmentsRequest,NetworkAttachmentList,NetworkAttachmentsClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyNetworkAttachmentRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsNetworkAttachmentRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public NetworkAttachmentsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<NetworkAttachmentsSettings,NetworkAttachmentsSettings.Builder>
- Throws:
IOException
-
-