public static class InstanceTemplateStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<InstanceTemplateStubSettings,InstanceTemplateStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(InstanceTemplateStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
InstanceTemplateStubSettings.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.
|
InstanceTemplateStubSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceTemplateHttpRequest,Operation> |
deleteInstanceTemplateSettings()
Returns the builder for the settings used for calls to deleteInstanceTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyInstanceTemplateHttpRequest,Policy> |
getIamPolicyInstanceTemplateSettings()
Returns the builder for the settings used for calls to getIamPolicyInstanceTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceTemplateHttpRequest,InstanceTemplate> |
getInstanceTemplateSettings()
Returns the builder for the settings used for calls to getInstanceTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertInstanceTemplateHttpRequest,Operation> |
insertInstanceTemplateSettings()
Returns the builder for the settings used for calls to insertInstanceTemplate.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstanceTemplatesHttpRequest,InstanceTemplateList,InstanceTemplateClient.ListInstanceTemplatesPagedResponse> |
listInstanceTemplatesSettings()
Returns the builder for the settings used for calls to listInstanceTemplates.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyInstanceTemplateHttpRequest,Policy> |
setIamPolicyInstanceTemplateSettings()
Returns the builder for the settings used for calls to setIamPolicyInstanceTemplate.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsInstanceTemplateHttpRequest,TestPermissionsResponse> |
testIamPermissionsInstanceTemplateSettings()
Returns the builder for the settings used for calls to testIamPermissionsInstanceTemplate.
|
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(InstanceTemplateStubSettings settings)
public InstanceTemplateStubSettings.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<DeleteInstanceTemplateHttpRequest,Operation> deleteInstanceTemplateSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceTemplateHttpRequest,InstanceTemplate> getInstanceTemplateSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyInstanceTemplateHttpRequest,Policy> getIamPolicyInstanceTemplateSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertInstanceTemplateHttpRequest,Operation> insertInstanceTemplateSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstanceTemplatesHttpRequest,InstanceTemplateList,InstanceTemplateClient.ListInstanceTemplatesPagedResponse> listInstanceTemplatesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyInstanceTemplateHttpRequest,Policy> setIamPolicyInstanceTemplateSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsInstanceTemplateHttpRequest,TestPermissionsResponse> testIamPermissionsInstanceTemplateSettings()
public InstanceTemplateStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<InstanceTemplateStubSettings,InstanceTemplateStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.