Package com.google.cloud.shell.v1.stub
Class CloudShellServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<CloudShellServiceStubSettings,CloudShellServiceStubSettings.Builder>
com.google.cloud.shell.v1.stub.CloudShellServiceStubSettings.Builder
- Enclosing class:
- CloudShellServiceStubSettings
public static class CloudShellServiceStubSettings.Builder
extends StubSettings.Builder<CloudShellServiceStubSettings,CloudShellServiceStubSettings.Builder>
Builder for CloudShellServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(CloudShellServiceStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public CloudShellServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<CloudShellServiceStubSettings,CloudShellServiceStubSettings.Builder> - Throws:
IOException
-