public static class InstanceAdminStubSettings.Builder extends StubSettings.Builder<InstanceAdminStubSettings,InstanceAdminStubSettings.Builder>
Builder for InstanceAdminStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(InstanceAdminStubSettings settings)
protected Builder(InstanceAdminStubSettings settings)
Name | Description |
settings | InstanceAdminStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public InstanceAdminStubSettings.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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,Void> |
Type | Description |
InstanceAdminStubSettings.Builder |
build()
public InstanceAdminStubSettings build()
Type | Description |
InstanceAdminStubSettings |
Type | Description |
IOException |
createInstanceOperationSettings()
public OperationCallSettings.Builder<CreateInstanceRequest,Instance,CreateInstanceMetadata> createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.
Type | Description |
Builder<CreateInstanceRequest,Instance,CreateInstanceMetadata> |
createInstanceSettings()
public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
Type | Description |
Builder<CreateInstanceRequest,Operation> |
deleteInstanceSettings()
public UnaryCallSettings.Builder<DeleteInstanceRequest,Empty> deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
Type | Description |
Builder<DeleteInstanceRequest,Empty> |
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Type | Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getInstanceConfigSettings()
public UnaryCallSettings.Builder<GetInstanceConfigRequest,InstanceConfig> getInstanceConfigSettings()
Returns the builder for the settings used for calls to getInstanceConfig.
Type | Description |
Builder<GetInstanceConfigRequest,InstanceConfig> |
getInstanceSettings()
public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
Type | Description |
Builder<GetInstanceRequest,Instance> |
listInstanceConfigsSettings()
public PagedCallSettings.Builder<ListInstanceConfigsRequest,ListInstanceConfigsResponse,InstanceAdminClient.ListInstanceConfigsPagedResponse> listInstanceConfigsSettings()
Returns the builder for the settings used for calls to listInstanceConfigs.
Type | Description |
Builder<ListInstanceConfigsRequest,ListInstanceConfigsResponse,ListInstanceConfigsPagedResponse> |
listInstancesSettings()
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,InstanceAdminClient.ListInstancesPagedResponse> listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
Type | Description |
Builder<ListInstancesRequest,ListInstancesResponse,ListInstancesPagedResponse> |
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Type | Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Type | Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
updateInstanceOperationSettings()
public OperationCallSettings.Builder<UpdateInstanceRequest,Instance,UpdateInstanceMetadata> updateInstanceOperationSettings()
Returns the builder for the settings used for calls to updateInstance.
Type | Description |
Builder<UpdateInstanceRequest,Instance,UpdateInstanceMetadata> |
updateInstanceSettings()
public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateInstanceSettings()
Returns the builder for the settings used for calls to updateInstance.
Type | Description |
Builder<UpdateInstanceRequest,Operation> |