Package com.google.cloud.shell.v1
Class CloudShellServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<CloudShellServiceSettings,CloudShellServiceSettings.Builder>
-
- com.google.cloud.shell.v1.CloudShellServiceSettings.Builder
-
- Enclosing class:
- CloudShellServiceSettings
public static class CloudShellServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<CloudShellServiceSettings,CloudShellServiceSettings.Builder>
Builder for CloudShellServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(CloudShellServiceSettings settings)
protected
Builder(CloudShellServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings.Builder<AddPublicKeyRequest,AddPublicKeyResponse,AddPublicKeyMetadata>
addPublicKeyOperationSettings()
Returns the builder for the settings used for calls to addPublicKey.com.google.api.gax.rpc.UnaryCallSettings.Builder<AddPublicKeyRequest,com.google.longrunning.Operation>
addPublicKeySettings()
Returns the builder for the settings used for calls to addPublicKey.CloudShellServiceSettings.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.com.google.api.gax.rpc.OperationCallSettings.Builder<AuthorizeEnvironmentRequest,AuthorizeEnvironmentResponse,AuthorizeEnvironmentMetadata>
authorizeEnvironmentOperationSettings()
Returns the builder for the settings used for calls to authorizeEnvironment.com.google.api.gax.rpc.UnaryCallSettings.Builder<AuthorizeEnvironmentRequest,com.google.longrunning.Operation>
authorizeEnvironmentSettings()
Returns the builder for the settings used for calls to authorizeEnvironment.CloudShellServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEnvironmentRequest,Environment>
getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.CloudShellServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<RemovePublicKeyRequest,RemovePublicKeyResponse,RemovePublicKeyMetadata>
removePublicKeyOperationSettings()
Returns the builder for the settings used for calls to removePublicKey.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemovePublicKeyRequest,com.google.longrunning.Operation>
removePublicKeySettings()
Returns the builder for the settings used for calls to removePublicKey.com.google.api.gax.rpc.OperationCallSettings.Builder<StartEnvironmentRequest,StartEnvironmentResponse,StartEnvironmentMetadata>
startEnvironmentOperationSettings()
Returns the builder for the settings used for calls to startEnvironment.com.google.api.gax.rpc.UnaryCallSettings.Builder<StartEnvironmentRequest,com.google.longrunning.Operation>
startEnvironmentSettings()
Returns the builder for the settings used for calls to startEnvironment.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(CloudShellServiceSettings settings)
-
Builder
protected Builder(CloudShellServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public CloudShellServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public CloudShellServiceSettings.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.Note: This method does not support applying settings to streaming methods.
-
getEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.
-
startEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartEnvironmentRequest,com.google.longrunning.Operation> startEnvironmentSettings()
Returns the builder for the settings used for calls to startEnvironment.
-
startEnvironmentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<StartEnvironmentRequest,StartEnvironmentResponse,StartEnvironmentMetadata> startEnvironmentOperationSettings()
Returns the builder for the settings used for calls to startEnvironment.
-
authorizeEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AuthorizeEnvironmentRequest,com.google.longrunning.Operation> authorizeEnvironmentSettings()
Returns the builder for the settings used for calls to authorizeEnvironment.
-
authorizeEnvironmentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<AuthorizeEnvironmentRequest,AuthorizeEnvironmentResponse,AuthorizeEnvironmentMetadata> authorizeEnvironmentOperationSettings()
Returns the builder for the settings used for calls to authorizeEnvironment.
-
addPublicKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddPublicKeyRequest,com.google.longrunning.Operation> addPublicKeySettings()
Returns the builder for the settings used for calls to addPublicKey.
-
addPublicKeyOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<AddPublicKeyRequest,AddPublicKeyResponse,AddPublicKeyMetadata> addPublicKeyOperationSettings()
Returns the builder for the settings used for calls to addPublicKey.
-
removePublicKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemovePublicKeyRequest,com.google.longrunning.Operation> removePublicKeySettings()
Returns the builder for the settings used for calls to removePublicKey.
-
removePublicKeyOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RemovePublicKeyRequest,RemovePublicKeyResponse,RemovePublicKeyMetadata> removePublicKeyOperationSettings()
Returns the builder for the settings used for calls to removePublicKey.
-
build
public CloudShellServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<CloudShellServiceSettings,CloudShellServiceSettings.Builder>
- Throws:
IOException
-
-