Class CloudFilestoreManagerStubSettings


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

    The default instance has everything set to sensible defaults:

    • The default service address (file.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
     CloudFilestoreManagerStubSettings.Builder cloudFilestoreManagerSettingsBuilder =
         CloudFilestoreManagerStubSettings.newBuilder();
     cloudFilestoreManagerSettingsBuilder
         .getInstanceSettings()
         .setRetrySettings(
             cloudFilestoreManagerSettingsBuilder
                 .getInstanceSettings()
                 .getRetrySettings()
                 .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CloudFilestoreManagerStubSettings cloudFilestoreManagerSettings =
         cloudFilestoreManagerSettingsBuilder.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.
      • createInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateInstanceRequest,​com.google.longrunning.Operation> createInstanceSettings()
        Returns the object with the settings used for calls to createInstance.
      • createInstanceOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateInstanceRequest,​Instance,​OperationMetadata> createInstanceOperationSettings()
        Returns the object with the settings used for calls to createInstance.
      • 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.
      • restoreInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<RestoreInstanceRequest,​com.google.longrunning.Operation> restoreInstanceSettings()
        Returns the object with the settings used for calls to restoreInstance.
      • restoreInstanceOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<RestoreInstanceRequest,​Instance,​OperationMetadata> restoreInstanceOperationSettings()
        Returns the object with the settings used for calls to restoreInstance.
      • revertInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<RevertInstanceRequest,​com.google.longrunning.Operation> revertInstanceSettings()
        Returns the object with the settings used for calls to revertInstance.
      • revertInstanceOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<RevertInstanceRequest,​Instance,​OperationMetadata> revertInstanceOperationSettings()
        Returns the object with the settings used for calls to revertInstance.
      • deleteInstanceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteInstanceRequest,​com.google.longrunning.Operation> deleteInstanceSettings()
        Returns the object with the settings used for calls to deleteInstance.
      • deleteInstanceOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteInstanceRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteInstanceOperationSettings()
        Returns the object with the settings used for calls to deleteInstance.
      • getSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetSnapshotRequest,​Snapshot> getSnapshotSettings()
        Returns the object with the settings used for calls to getSnapshot.
      • createSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateSnapshotRequest,​com.google.longrunning.Operation> createSnapshotSettings()
        Returns the object with the settings used for calls to createSnapshot.
      • createSnapshotOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateSnapshotRequest,​Snapshot,​OperationMetadata> createSnapshotOperationSettings()
        Returns the object with the settings used for calls to createSnapshot.
      • deleteSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteSnapshotRequest,​com.google.longrunning.Operation> deleteSnapshotSettings()
        Returns the object with the settings used for calls to deleteSnapshot.
      • deleteSnapshotOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteSnapshotRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteSnapshotOperationSettings()
        Returns the object with the settings used for calls to deleteSnapshot.
      • updateSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateSnapshotRequest,​com.google.longrunning.Operation> updateSnapshotSettings()
        Returns the object with the settings used for calls to updateSnapshot.
      • updateSnapshotOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateSnapshotRequest,​Snapshot,​OperationMetadata> updateSnapshotOperationSettings()
        Returns the object with the settings used for calls to updateSnapshot.
      • getBackupSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetBackupRequest,​Backup> getBackupSettings()
        Returns the object with the settings used for calls to getBackup.
      • createBackupSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateBackupRequest,​com.google.longrunning.Operation> createBackupSettings()
        Returns the object with the settings used for calls to createBackup.
      • createBackupOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateBackupRequest,​Backup,​OperationMetadata> createBackupOperationSettings()
        Returns the object with the settings used for calls to createBackup.
      • deleteBackupSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteBackupRequest,​com.google.longrunning.Operation> deleteBackupSettings()
        Returns the object with the settings used for calls to deleteBackup.
      • deleteBackupOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteBackupRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteBackupOperationSettings()
        Returns the object with the settings used for calls to deleteBackup.
      • updateBackupSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateBackupRequest,​com.google.longrunning.Operation> updateBackupSettings()
        Returns the object with the settings used for calls to updateBackup.
      • updateBackupOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateBackupRequest,​Backup,​OperationMetadata> updateBackupOperationSettings()
        Returns the object with the settings used for calls to updateBackup.
      • getShareSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetShareRequest,​Share> getShareSettings()
        Returns the object with the settings used for calls to getShare.
      • createShareSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateShareRequest,​com.google.longrunning.Operation> createShareSettings()
        Returns the object with the settings used for calls to createShare.
      • createShareOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateShareRequest,​Share,​OperationMetadata> createShareOperationSettings()
        Returns the object with the settings used for calls to createShare.
      • deleteShareSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteShareRequest,​com.google.longrunning.Operation> deleteShareSettings()
        Returns the object with the settings used for calls to deleteShare.
      • deleteShareOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteShareRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteShareOperationSettings()
        Returns the object with the settings used for calls to deleteShare.
      • updateShareSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateShareRequest,​com.google.longrunning.Operation> updateShareSettings()
        Returns the object with the settings used for calls to updateShare.
      • updateShareOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateShareRequest,​Share,​OperationMetadata> updateShareOperationSettings()
        Returns the object with the settings used for calls to updateShare.
      • 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()