public static class InstanceAdminStubSettings.Builder extends StubSettings.Builder<InstanceAdminStubSettings,InstanceAdminStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(InstanceAdminStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
InstanceAdminStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
InstanceAdminStubSettings |
build() |
OperationCallSettings.Builder<CreateInstanceRequest,Instance,CreateInstanceMetadata> |
createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.
|
UnaryCallSettings.Builder<CreateInstanceRequest,Operation> |
createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
|
UnaryCallSettings.Builder<DeleteInstanceRequest,Empty> |
deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
|
UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
UnaryCallSettings.Builder<GetInstanceConfigRequest,InstanceConfig> |
getInstanceConfigSettings()
Returns the builder for the settings used for calls to getInstanceConfig.
|
UnaryCallSettings.Builder<GetInstanceRequest,Instance> |
getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
|
PagedCallSettings.Builder<ListInstanceConfigsRequest,ListInstanceConfigsResponse,InstanceAdminClient.ListInstanceConfigsPagedResponse> |
listInstanceConfigsSettings()
Returns the builder for the settings used for calls to listInstanceConfigs.
|
PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,InstanceAdminClient.ListInstancesPagedResponse> |
listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
|
UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
OperationCallSettings.Builder<UpdateInstanceRequest,Instance,UpdateInstanceMetadata> |
updateInstanceOperationSettings()
Returns the builder for the settings used for calls to updateInstance.
|
UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> |
updateInstanceSettings()
Returns the builder for the settings used for calls to updateInstance.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(InstanceAdminStubSettings settings)
public InstanceAdminStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<ListInstanceConfigsRequest,ListInstanceConfigsResponse,InstanceAdminClient.ListInstanceConfigsPagedResponse> listInstanceConfigsSettings()
public UnaryCallSettings.Builder<GetInstanceConfigRequest,InstanceConfig> getInstanceConfigSettings()
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,InstanceAdminClient.ListInstancesPagedResponse> listInstancesSettings()
public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()
public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<CreateInstanceRequest,Instance,CreateInstanceMetadata> createInstanceOperationSettings()
public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<UpdateInstanceRequest,Instance,UpdateInstanceMetadata> updateInstanceOperationSettings()
public UnaryCallSettings.Builder<DeleteInstanceRequest,Empty> deleteInstanceSettings()
public UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public InstanceAdminStubSettings build() throws IOException
build
in class StubSettings.Builder<InstanceAdminStubSettings,InstanceAdminStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.