Class BareMetalSolutionStubSettings


  • @Generated("by gapic-generator-java")
    public class BareMetalSolutionStubSettings
    extends com.google.api.gax.rpc.StubSettings<BareMetalSolutionStubSettings>
    Settings class to configure an instance of BareMetalSolutionStub.

    The default instance has everything set to sensible defaults:

    • The default service address (baremetalsolution.googleapis.com) and default port (443) are used.
    • Credentials are acquired automatically through Application Default Credentials.
    • Retries are configured for idempotent methods but not for non-idempotent methods.

    The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

    For example, to set the total timeout of getInstance to 30 seconds:

    
     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     BareMetalSolutionStubSettings.Builder bareMetalSolutionSettingsBuilder =
         BareMetalSolutionStubSettings.newBuilder();
     bareMetalSolutionSettingsBuilder
         .getInstanceSettings()
         .setRetrySettings(
             bareMetalSolutionSettingsBuilder
                 .getInstanceSettings()
                 .getRetrySettings()
                 .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     BareMetalSolutionStubSettings bareMetalSolutionSettings =
         bareMetalSolutionSettingsBuilder.build();
     
    • Method Detail

      • getInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetInstanceRequest,​Instance> getInstanceSettings()
        Returns the object with the settings used for calls to getInstance.
      • updateInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateInstanceRequest,​com.google.longrunning.Operation> updateInstanceSettings()
        Returns the object with the settings used for calls to updateInstance.
      • updateInstanceOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateInstanceRequest,​Instance,​OperationMetadata> updateInstanceOperationSettings()
        Returns the object with the settings used for calls to updateInstance.
      • renameInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<RenameInstanceRequest,​Instance> renameInstanceSettings()
        Returns the object with the settings used for calls to renameInstance.
      • resetInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ResetInstanceRequest,​com.google.longrunning.Operation> resetInstanceSettings()
        Returns the object with the settings used for calls to resetInstance.
      • startInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<StartInstanceRequest,​com.google.longrunning.Operation> startInstanceSettings()
        Returns the object with the settings used for calls to startInstance.
      • stopInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<StopInstanceRequest,​com.google.longrunning.Operation> stopInstanceSettings()
        Returns the object with the settings used for calls to stopInstance.
      • enableInteractiveSerialConsoleSettings

        public com.google.api.gax.rpc.UnaryCallSettings<EnableInteractiveSerialConsoleRequest,​com.google.longrunning.Operation> enableInteractiveSerialConsoleSettings()
        Returns the object with the settings used for calls to enableInteractiveSerialConsole.
      • disableInteractiveSerialConsoleSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DisableInteractiveSerialConsoleRequest,​com.google.longrunning.Operation> disableInteractiveSerialConsoleSettings()
        Returns the object with the settings used for calls to disableInteractiveSerialConsole.
      • detachLunSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DetachLunRequest,​com.google.longrunning.Operation> detachLunSettings()
        Returns the object with the settings used for calls to detachLun.
      • detachLunOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DetachLunRequest,​Instance,​OperationMetadata> detachLunOperationSettings()
        Returns the object with the settings used for calls to detachLun.
      • createSSHKeySettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateSSHKeyRequest,​SSHKey> createSSHKeySettings()
        Returns the object with the settings used for calls to createSSHKey.
      • deleteSSHKeySettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteSSHKeyRequest,​com.google.protobuf.Empty> deleteSSHKeySettings()
        Returns the object with the settings used for calls to deleteSSHKey.
      • getVolumeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetVolumeRequest,​Volume> getVolumeSettings()
        Returns the object with the settings used for calls to getVolume.
      • updateVolumeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateVolumeRequest,​com.google.longrunning.Operation> updateVolumeSettings()
        Returns the object with the settings used for calls to updateVolume.
      • updateVolumeOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateVolumeRequest,​Volume,​OperationMetadata> updateVolumeOperationSettings()
        Returns the object with the settings used for calls to updateVolume.
      • renameVolumeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<RenameVolumeRequest,​Volume> renameVolumeSettings()
        Returns the object with the settings used for calls to renameVolume.
      • evictVolumeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<EvictVolumeRequest,​com.google.longrunning.Operation> evictVolumeSettings()
        Returns the object with the settings used for calls to evictVolume.
      • evictVolumeOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<EvictVolumeRequest,​com.google.protobuf.Empty,​OperationMetadata> evictVolumeOperationSettings()
        Returns the object with the settings used for calls to evictVolume.
      • resizeVolumeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ResizeVolumeRequest,​com.google.longrunning.Operation> resizeVolumeSettings()
        Returns the object with the settings used for calls to resizeVolume.
      • resizeVolumeOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<ResizeVolumeRequest,​Volume,​OperationMetadata> resizeVolumeOperationSettings()
        Returns the object with the settings used for calls to resizeVolume.
      • getNetworkSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetNetworkRequest,​Network> getNetworkSettings()
        Returns the object with the settings used for calls to getNetwork.
      • updateNetworkSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateNetworkRequest,​com.google.longrunning.Operation> updateNetworkSettings()
        Returns the object with the settings used for calls to updateNetwork.
      • updateNetworkOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateNetworkRequest,​Network,​OperationMetadata> updateNetworkOperationSettings()
        Returns the object with the settings used for calls to updateNetwork.
      • createVolumeSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateVolumeSnapshotRequest,​VolumeSnapshot> createVolumeSnapshotSettings()
        Returns the object with the settings used for calls to createVolumeSnapshot.
      • restoreVolumeSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings<RestoreVolumeSnapshotRequest,​com.google.longrunning.Operation> restoreVolumeSnapshotSettings()
        Returns the object with the settings used for calls to restoreVolumeSnapshot.
      • deleteVolumeSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteVolumeSnapshotRequest,​com.google.protobuf.Empty> deleteVolumeSnapshotSettings()
        Returns the object with the settings used for calls to deleteVolumeSnapshot.
      • getVolumeSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetVolumeSnapshotRequest,​VolumeSnapshot> getVolumeSnapshotSettings()
        Returns the object with the settings used for calls to getVolumeSnapshot.
      • getLunSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetLunRequest,​Lun> getLunSettings()
        Returns the object with the settings used for calls to getLun.
      • evictLunSettings

        public com.google.api.gax.rpc.UnaryCallSettings<EvictLunRequest,​com.google.longrunning.Operation> evictLunSettings()
        Returns the object with the settings used for calls to evictLun.
      • evictLunOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<EvictLunRequest,​com.google.protobuf.Empty,​OperationMetadata> evictLunOperationSettings()
        Returns the object with the settings used for calls to evictLun.
      • getNfsShareSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetNfsShareRequest,​NfsShare> getNfsShareSettings()
        Returns the object with the settings used for calls to getNfsShare.
      • updateNfsShareSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateNfsShareRequest,​com.google.longrunning.Operation> updateNfsShareSettings()
        Returns the object with the settings used for calls to updateNfsShare.
      • updateNfsShareOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateNfsShareRequest,​NfsShare,​OperationMetadata> updateNfsShareOperationSettings()
        Returns the object with the settings used for calls to updateNfsShare.
      • createNfsShareSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateNfsShareRequest,​com.google.longrunning.Operation> createNfsShareSettings()
        Returns the object with the settings used for calls to createNfsShare.
      • createNfsShareOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateNfsShareRequest,​NfsShare,​OperationMetadata> createNfsShareOperationSettings()
        Returns the object with the settings used for calls to createNfsShare.
      • renameNfsShareSettings

        public com.google.api.gax.rpc.UnaryCallSettings<RenameNfsShareRequest,​NfsShare> renameNfsShareSettings()
        Returns the object with the settings used for calls to renameNfsShare.
      • deleteNfsShareSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteNfsShareRequest,​com.google.longrunning.Operation> deleteNfsShareSettings()
        Returns the object with the settings used for calls to deleteNfsShare.
      • deleteNfsShareOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteNfsShareRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteNfsShareOperationSettings()
        Returns the object with the settings used for calls to deleteNfsShare.
      • getProvisioningConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetProvisioningConfigRequest,​ProvisioningConfig> getProvisioningConfigSettings()
        Returns the object with the settings used for calls to getProvisioningConfig.
      • createProvisioningConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateProvisioningConfigRequest,​ProvisioningConfig> createProvisioningConfigSettings()
        Returns the object with the settings used for calls to createProvisioningConfig.
      • updateProvisioningConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateProvisioningConfigRequest,​ProvisioningConfig> updateProvisioningConfigSettings()
        Returns the object with the settings used for calls to updateProvisioningConfig.
      • renameNetworkSettings

        public com.google.api.gax.rpc.UnaryCallSettings<RenameNetworkRequest,​Network> renameNetworkSettings()
        Returns the object with the settings used for calls to renameNetwork.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​BareMetalSolutionClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the object with the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the object with the settings used for calls to getLocation.
      • defaultExecutorProviderBuilder

        public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
        Returns a builder for the default ExecutorProvider for this service.
      • getDefaultEndpoint

        public static String getDefaultEndpoint()
        Returns the default service endpoint.
      • getDefaultMtlsEndpoint

        public static String getDefaultMtlsEndpoint()
        Returns the default mTLS service endpoint.
      • getDefaultServiceScopes

        public static List<String> getDefaultServiceScopes()
        Returns the default service scopes.
      • defaultCredentialsProviderBuilder

        public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
        Returns a builder for the default credentials for this service.
      • defaultGrpcTransportProviderBuilder

        public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
        Returns a builder for the default gRPC ChannelProvider for this service.
      • defaultHttpJsonTransportProviderBuilder

        @BetaApi
        public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
        Returns a builder for the default REST ChannelProvider for this service.
      • defaultTransportChannelProvider

        public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
      • defaultGrpcApiClientHeaderProviderBuilder

        @BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
        public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
      • defaultHttpJsonApiClientHeaderProviderBuilder

        @BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
        public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
      • defaultApiClientHeaderProviderBuilder

        public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()