public static class InstanceTemplateSettings.Builder extends ClientSettings.Builder<InstanceTemplateSettings,InstanceTemplateSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(InstanceTemplateSettings settings) |
protected |
Builder(InstanceTemplateStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(InstanceTemplateSettings settings)
protected Builder(InstanceTemplateStubSettings.Builder stubSettings)
public InstanceTemplateStubSettings.Builder getStubSettingsBuilder()
public InstanceTemplateSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<DeleteInstanceTemplateHttpRequest,Operation> deleteInstanceTemplateSettings()
public UnaryCallSettings.Builder<GetInstanceTemplateHttpRequest,InstanceTemplate> getInstanceTemplateSettings()
public UnaryCallSettings.Builder<GetIamPolicyInstanceTemplateHttpRequest,Policy> getIamPolicyInstanceTemplateSettings()
public UnaryCallSettings.Builder<InsertInstanceTemplateHttpRequest,Operation> insertInstanceTemplateSettings()
public PagedCallSettings.Builder<ListInstanceTemplatesHttpRequest,InstanceTemplateList,InstanceTemplateClient.ListInstanceTemplatesPagedResponse> listInstanceTemplatesSettings()
public UnaryCallSettings.Builder<SetIamPolicyInstanceTemplateHttpRequest,Policy> setIamPolicyInstanceTemplateSettings()
public UnaryCallSettings.Builder<TestIamPermissionsInstanceTemplateHttpRequest,TestPermissionsResponse> testIamPermissionsInstanceTemplateSettings()
public InstanceTemplateSettings build() throws IOException
build
in class ClientSettings.Builder<InstanceTemplateSettings,InstanceTemplateSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.