public static class InstanceTemplateStubSettings.Builder extends StubSettings.Builder<InstanceTemplateStubSettings,InstanceTemplateStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(InstanceTemplateStubSettings settings) |
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(ClientContext clientContext)
protected Builder(InstanceTemplateStubSettings settings)
public InstanceTemplateStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 InstanceTemplateStubSettings build() throws IOException
build
in class StubSettings.Builder<InstanceTemplateStubSettings,InstanceTemplateStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.