Class CloudFilestoreManagerStubSettings
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings<CloudFilestoreManagerStubSettings>
-
- com.google.cloud.filestore.v1beta1.stub.CloudFilestoreManagerStubSettings
-
@BetaApi @Generated("by gapic-generator-java") public class CloudFilestoreManagerStubSettings extends com.google.api.gax.rpc.StubSettings<CloudFilestoreManagerStubSettings>
Settings class to configure an instance ofCloudFilestoreManagerStub
.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();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CloudFilestoreManagerStubSettings.Builder
Builder for CloudFilestoreManagerStubSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CloudFilestoreManagerStubSettings(CloudFilestoreManagerStubSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings<CreateBackupRequest,Backup,OperationMetadata>
createBackupOperationSettings()
Returns the object with the settings used for calls to createBackup.com.google.api.gax.rpc.UnaryCallSettings<CreateBackupRequest,com.google.longrunning.Operation>
createBackupSettings()
Returns the object with the settings used for calls to createBackup.com.google.api.gax.rpc.OperationCallSettings<CreateInstanceRequest,Instance,OperationMetadata>
createInstanceOperationSettings()
Returns the object with the settings used for calls to createInstance.com.google.api.gax.rpc.UnaryCallSettings<CreateInstanceRequest,com.google.longrunning.Operation>
createInstanceSettings()
Returns the object with the settings used for calls to createInstance.com.google.api.gax.rpc.OperationCallSettings<CreateShareRequest,Share,OperationMetadata>
createShareOperationSettings()
Returns the object with the settings used for calls to createShare.com.google.api.gax.rpc.UnaryCallSettings<CreateShareRequest,com.google.longrunning.Operation>
createShareSettings()
Returns the object with the settings used for calls to createShare.com.google.api.gax.rpc.OperationCallSettings<CreateSnapshotRequest,Snapshot,OperationMetadata>
createSnapshotOperationSettings()
Returns the object with the settings used for calls to createSnapshot.com.google.api.gax.rpc.UnaryCallSettings<CreateSnapshotRequest,com.google.longrunning.Operation>
createSnapshotSettings()
Returns the object with the settings used for calls to createSnapshot.CloudFilestoreManagerStub
createStub()
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
defaultApiClientHeaderProviderBuilder()
static com.google.api.gax.core.GoogleCredentialsProvider.Builder
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.static com.google.api.gax.core.InstantiatingExecutorProvider.Builder
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
defaultGrpcApiClientHeaderProviderBuilder()
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
defaultHttpJsonApiClientHeaderProviderBuilder()
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.static com.google.api.gax.rpc.TransportChannelProvider
defaultTransportChannelProvider()
com.google.api.gax.rpc.OperationCallSettings<DeleteBackupRequest,com.google.protobuf.Empty,OperationMetadata>
deleteBackupOperationSettings()
Returns the object with the settings used for calls to deleteBackup.com.google.api.gax.rpc.UnaryCallSettings<DeleteBackupRequest,com.google.longrunning.Operation>
deleteBackupSettings()
Returns the object with the settings used for calls to deleteBackup.com.google.api.gax.rpc.OperationCallSettings<DeleteInstanceRequest,com.google.protobuf.Empty,OperationMetadata>
deleteInstanceOperationSettings()
Returns the object with the settings used for calls to deleteInstance.com.google.api.gax.rpc.UnaryCallSettings<DeleteInstanceRequest,com.google.longrunning.Operation>
deleteInstanceSettings()
Returns the object with the settings used for calls to deleteInstance.com.google.api.gax.rpc.OperationCallSettings<DeleteShareRequest,com.google.protobuf.Empty,OperationMetadata>
deleteShareOperationSettings()
Returns the object with the settings used for calls to deleteShare.com.google.api.gax.rpc.UnaryCallSettings<DeleteShareRequest,com.google.longrunning.Operation>
deleteShareSettings()
Returns the object with the settings used for calls to deleteShare.com.google.api.gax.rpc.OperationCallSettings<DeleteSnapshotRequest,com.google.protobuf.Empty,OperationMetadata>
deleteSnapshotOperationSettings()
Returns the object with the settings used for calls to deleteSnapshot.com.google.api.gax.rpc.UnaryCallSettings<DeleteSnapshotRequest,com.google.longrunning.Operation>
deleteSnapshotSettings()
Returns the object with the settings used for calls to deleteSnapshot.com.google.api.gax.rpc.UnaryCallSettings<GetBackupRequest,Backup>
getBackupSettings()
Returns the object with the settings used for calls to getBackup.static String
getDefaultEndpoint()
Returns the default service endpoint.static String
getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.static List<String>
getDefaultServiceScopes()
Returns the default service scopes.com.google.api.gax.rpc.UnaryCallSettings<GetInstanceRequest,Instance>
getInstanceSettings()
Returns the object with the settings used for calls to getInstance.com.google.api.gax.rpc.UnaryCallSettings<GetShareRequest,Share>
getShareSettings()
Returns the object with the settings used for calls to getShare.com.google.api.gax.rpc.UnaryCallSettings<GetSnapshotRequest,Snapshot>
getSnapshotSettings()
Returns the object with the settings used for calls to getSnapshot.com.google.api.gax.rpc.PagedCallSettings<ListBackupsRequest,ListBackupsResponse,CloudFilestoreManagerClient.ListBackupsPagedResponse>
listBackupsSettings()
Returns the object with the settings used for calls to listBackups.com.google.api.gax.rpc.PagedCallSettings<ListInstancesRequest,ListInstancesResponse,CloudFilestoreManagerClient.ListInstancesPagedResponse>
listInstancesSettings()
Returns the object with the settings used for calls to listInstances.com.google.api.gax.rpc.PagedCallSettings<ListSharesRequest,ListSharesResponse,CloudFilestoreManagerClient.ListSharesPagedResponse>
listSharesSettings()
Returns the object with the settings used for calls to listShares.com.google.api.gax.rpc.PagedCallSettings<ListSnapshotsRequest,ListSnapshotsResponse,CloudFilestoreManagerClient.ListSnapshotsPagedResponse>
listSnapshotsSettings()
Returns the object with the settings used for calls to listSnapshots.static CloudFilestoreManagerStubSettings.Builder
newBuilder()
Returns a new gRPC builder for this class.static CloudFilestoreManagerStubSettings.Builder
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.static CloudFilestoreManagerStubSettings.Builder
newHttpJsonBuilder()
Returns a new REST builder for this class.com.google.api.gax.rpc.OperationCallSettings<RestoreInstanceRequest,Instance,OperationMetadata>
restoreInstanceOperationSettings()
Returns the object with the settings used for calls to restoreInstance.com.google.api.gax.rpc.UnaryCallSettings<RestoreInstanceRequest,com.google.longrunning.Operation>
restoreInstanceSettings()
Returns the object with the settings used for calls to restoreInstance.com.google.api.gax.rpc.OperationCallSettings<RevertInstanceRequest,Instance,OperationMetadata>
revertInstanceOperationSettings()
Returns the object with the settings used for calls to revertInstance.com.google.api.gax.rpc.UnaryCallSettings<RevertInstanceRequest,com.google.longrunning.Operation>
revertInstanceSettings()
Returns the object with the settings used for calls to revertInstance.CloudFilestoreManagerStubSettings.Builder
toBuilder()
Returns a builder containing all the values of this settings class.com.google.api.gax.rpc.OperationCallSettings<UpdateBackupRequest,Backup,OperationMetadata>
updateBackupOperationSettings()
Returns the object with the settings used for calls to updateBackup.com.google.api.gax.rpc.UnaryCallSettings<UpdateBackupRequest,com.google.longrunning.Operation>
updateBackupSettings()
Returns the object with the settings used for calls to updateBackup.com.google.api.gax.rpc.OperationCallSettings<UpdateInstanceRequest,Instance,OperationMetadata>
updateInstanceOperationSettings()
Returns the object with the settings used for calls to updateInstance.com.google.api.gax.rpc.UnaryCallSettings<UpdateInstanceRequest,com.google.longrunning.Operation>
updateInstanceSettings()
Returns the object with the settings used for calls to updateInstance.com.google.api.gax.rpc.OperationCallSettings<UpdateShareRequest,Share,OperationMetadata>
updateShareOperationSettings()
Returns the object with the settings used for calls to updateShare.com.google.api.gax.rpc.UnaryCallSettings<UpdateShareRequest,com.google.longrunning.Operation>
updateShareSettings()
Returns the object with the settings used for calls to updateShare.com.google.api.gax.rpc.OperationCallSettings<UpdateSnapshotRequest,Snapshot,OperationMetadata>
updateSnapshotOperationSettings()
Returns the object with the settings used for calls to updateSnapshot.com.google.api.gax.rpc.UnaryCallSettings<UpdateSnapshotRequest,com.google.longrunning.Operation>
updateSnapshotSettings()
Returns the object with the settings used for calls to updateSnapshot.-
Methods inherited from class com.google.api.gax.rpc.StubSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
CloudFilestoreManagerStubSettings
protected CloudFilestoreManagerStubSettings(CloudFilestoreManagerStubSettings.Builder settingsBuilder) throws IOException
- Throws:
IOException
-
-
Method Detail
-
listInstancesSettings
public com.google.api.gax.rpc.PagedCallSettings<ListInstancesRequest,ListInstancesResponse,CloudFilestoreManagerClient.ListInstancesPagedResponse> listInstancesSettings()
Returns the object with the settings used for calls to listInstances.
-
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.
-
listSnapshotsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListSnapshotsRequest,ListSnapshotsResponse,CloudFilestoreManagerClient.ListSnapshotsPagedResponse> listSnapshotsSettings()
Returns the object with the settings used for calls to listSnapshots.
-
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.
-
listBackupsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListBackupsRequest,ListBackupsResponse,CloudFilestoreManagerClient.ListBackupsPagedResponse> listBackupsSettings()
Returns the object with the settings used for calls to listBackups.
-
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.
-
listSharesSettings
public com.google.api.gax.rpc.PagedCallSettings<ListSharesRequest,ListSharesResponse,CloudFilestoreManagerClient.ListSharesPagedResponse> listSharesSettings()
Returns the object with the settings used for calls to listShares.
-
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.
-
createStub
public CloudFilestoreManagerStub createStub() throws IOException
- Throws:
IOException
-
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()
-
newBuilder
public static CloudFilestoreManagerStubSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
-
newHttpJsonBuilder
public static CloudFilestoreManagerStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
-
newBuilder
public static CloudFilestoreManagerStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public CloudFilestoreManagerStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classcom.google.api.gax.rpc.StubSettings<CloudFilestoreManagerStubSettings>
-
-