public static class DiskStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<DiskStubSettings,DiskStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(DiskStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings.Builder<AddResourcePoliciesDiskHttpRequest,Operation> |
addResourcePoliciesDiskSettings()
Returns the builder for the settings used for calls to addResourcePoliciesDisk.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListDisksHttpRequest,DiskAggregatedList,DiskClient.AggregatedListDisksPagedResponse> |
aggregatedListDisksSettings()
Returns the builder for the settings used for calls to aggregatedListDisks.
|
DiskStubSettings.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.
|
DiskStubSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSnapshotDiskHttpRequest,Operation> |
createSnapshotDiskSettings()
Returns the builder for the settings used for calls to createSnapshotDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDiskHttpRequest,Operation> |
deleteDiskSettings()
Returns the builder for the settings used for calls to deleteDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDiskHttpRequest,Disk> |
getDiskSettings()
Returns the builder for the settings used for calls to getDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyDiskHttpRequest,Policy> |
getIamPolicyDiskSettings()
Returns the builder for the settings used for calls to getIamPolicyDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertDiskHttpRequest,Operation> |
insertDiskSettings()
Returns the builder for the settings used for calls to insertDisk.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListDisksHttpRequest,DiskList,DiskClient.ListDisksPagedResponse> |
listDisksSettings()
Returns the builder for the settings used for calls to listDisks.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveResourcePoliciesDiskHttpRequest,Operation> |
removeResourcePoliciesDiskSettings()
Returns the builder for the settings used for calls to removeResourcePoliciesDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ResizeDiskHttpRequest,Operation> |
resizeDiskSettings()
Returns the builder for the settings used for calls to resizeDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyDiskHttpRequest,Policy> |
setIamPolicyDiskSettings()
Returns the builder for the settings used for calls to setIamPolicyDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsDiskHttpRequest,Operation> |
setLabelsDiskSettings()
Returns the builder for the settings used for calls to setLabelsDisk.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsDiskHttpRequest,TestPermissionsResponse> |
testIamPermissionsDiskSettings()
Returns the builder for the settings used for calls to testIamPermissionsDisk.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(DiskStubSettings settings)
public DiskStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddResourcePoliciesDiskHttpRequest,Operation> addResourcePoliciesDiskSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListDisksHttpRequest,DiskAggregatedList,DiskClient.AggregatedListDisksPagedResponse> aggregatedListDisksSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSnapshotDiskHttpRequest,Operation> createSnapshotDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDiskHttpRequest,Operation> deleteDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDiskHttpRequest,Disk> getDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyDiskHttpRequest,Policy> getIamPolicyDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertDiskHttpRequest,Operation> insertDiskSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDisksHttpRequest,DiskList,DiskClient.ListDisksPagedResponse> listDisksSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveResourcePoliciesDiskHttpRequest,Operation> removeResourcePoliciesDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResizeDiskHttpRequest,Operation> resizeDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyDiskHttpRequest,Policy> setIamPolicyDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsDiskHttpRequest,Operation> setLabelsDiskSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsDiskHttpRequest,TestPermissionsResponse> testIamPermissionsDiskSettings()
public DiskStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<DiskStubSettings,DiskStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.