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 com.google.api.gax.rpc.StubSettings.Builder<CloudShellServiceStubSettings,CloudShellServiceStubSettings.Builder>
Builder for CloudShellServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(CloudShellServiceStubSettings settings)
-
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.CloudShellServiceStubSettings.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.CloudShellServiceStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEnvironmentRequest,Environment>
getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.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.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(CloudShellServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public CloudShellServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 CloudShellServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<CloudShellServiceStubSettings,CloudShellServiceStubSettings.Builder>
- Throws:
IOException
-
-