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 ClientSettings.Builder<CloudShellServiceSettings,CloudShellServiceSettings.Builder>
Builder for CloudShellServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(CloudShellServiceSettings settings) protectedBuilder(CloudShellServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to addPublicKey.Returns the builder for the settings used for calls to addPublicKey.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.OperationCallSettings.Builder<AuthorizeEnvironmentRequest,AuthorizeEnvironmentResponse, AuthorizeEnvironmentMetadata> Returns the builder for the settings used for calls to authorizeEnvironment.Returns the builder for the settings used for calls to authorizeEnvironment.build()Returns the builder for the settings used for calls to getEnvironment.OperationCallSettings.Builder<RemovePublicKeyRequest,RemovePublicKeyResponse, RemovePublicKeyMetadata> Returns the builder for the settings used for calls to removePublicKey.Returns the builder for the settings used for calls to removePublicKey.OperationCallSettings.Builder<StartEnvironmentRequest,StartEnvironmentResponse, StartEnvironmentMetadata> Returns the builder for the settings used for calls to startEnvironment.Returns the builder for the settings used for calls to startEnvironment.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public CloudShellServiceSettings.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.
-
getEnvironmentSettings
Returns the builder for the settings used for calls to getEnvironment. -
startEnvironmentSettings
Returns the builder for the settings used for calls to startEnvironment. -
startEnvironmentOperationSettings
public OperationCallSettings.Builder<StartEnvironmentRequest,StartEnvironmentResponse, startEnvironmentOperationSettings()StartEnvironmentMetadata> Returns the builder for the settings used for calls to startEnvironment. -
authorizeEnvironmentSettings
public UnaryCallSettings.Builder<AuthorizeEnvironmentRequest,Operation> authorizeEnvironmentSettings()Returns the builder for the settings used for calls to authorizeEnvironment. -
authorizeEnvironmentOperationSettings
public OperationCallSettings.Builder<AuthorizeEnvironmentRequest,AuthorizeEnvironmentResponse, authorizeEnvironmentOperationSettings()AuthorizeEnvironmentMetadata> Returns the builder for the settings used for calls to authorizeEnvironment. -
addPublicKeySettings
Returns the builder for the settings used for calls to addPublicKey. -
addPublicKeyOperationSettings
public OperationCallSettings.Builder<AddPublicKeyRequest,AddPublicKeyResponse, addPublicKeyOperationSettings()AddPublicKeyMetadata> Returns the builder for the settings used for calls to addPublicKey. -
removePublicKeySettings
Returns the builder for the settings used for calls to removePublicKey. -
removePublicKeyOperationSettings
public OperationCallSettings.Builder<RemovePublicKeyRequest,RemovePublicKeyResponse, removePublicKeyOperationSettings()RemovePublicKeyMetadata> Returns the builder for the settings used for calls to removePublicKey. -
build
- Specified by:
buildin classClientSettings.Builder<CloudShellServiceSettings,CloudShellServiceSettings.Builder> - Throws:
IOException
-