Class VmMigrationStubSettings


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

    The default instance has everything set to sensible defaults:

    • The default service address (vmmigration.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 getSource 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
     VmMigrationStubSettings.Builder vmMigrationSettingsBuilder =
         VmMigrationStubSettings.newBuilder();
     vmMigrationSettingsBuilder
         .getSourceSettings()
         .setRetrySettings(
             vmMigrationSettingsBuilder
                 .getSourceSettings()
                 .getRetrySettings()
                 .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     VmMigrationStubSettings vmMigrationSettings = vmMigrationSettingsBuilder.build();
     
    • Method Detail

      • getSourceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetSourceRequest,​Source> getSourceSettings()
        Returns the object with the settings used for calls to getSource.
      • createSourceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateSourceRequest,​com.google.longrunning.Operation> createSourceSettings()
        Returns the object with the settings used for calls to createSource.
      • createSourceOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateSourceRequest,​Source,​OperationMetadata> createSourceOperationSettings()
        Returns the object with the settings used for calls to createSource.
      • updateSourceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateSourceRequest,​com.google.longrunning.Operation> updateSourceSettings()
        Returns the object with the settings used for calls to updateSource.
      • updateSourceOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateSourceRequest,​Source,​OperationMetadata> updateSourceOperationSettings()
        Returns the object with the settings used for calls to updateSource.
      • deleteSourceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteSourceRequest,​com.google.longrunning.Operation> deleteSourceSettings()
        Returns the object with the settings used for calls to deleteSource.
      • deleteSourceOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteSourceRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteSourceOperationSettings()
        Returns the object with the settings used for calls to deleteSource.
      • fetchInventorySettings

        public com.google.api.gax.rpc.UnaryCallSettings<FetchInventoryRequest,​FetchInventoryResponse> fetchInventorySettings()
        Returns the object with the settings used for calls to fetchInventory.
      • getUtilizationReportSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetUtilizationReportRequest,​UtilizationReport> getUtilizationReportSettings()
        Returns the object with the settings used for calls to getUtilizationReport.
      • createUtilizationReportSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateUtilizationReportRequest,​com.google.longrunning.Operation> createUtilizationReportSettings()
        Returns the object with the settings used for calls to createUtilizationReport.
      • deleteUtilizationReportSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteUtilizationReportRequest,​com.google.longrunning.Operation> deleteUtilizationReportSettings()
        Returns the object with the settings used for calls to deleteUtilizationReport.
      • deleteUtilizationReportOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteUtilizationReportRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteUtilizationReportOperationSettings()
        Returns the object with the settings used for calls to deleteUtilizationReport.
      • getDatacenterConnectorSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetDatacenterConnectorRequest,​DatacenterConnector> getDatacenterConnectorSettings()
        Returns the object with the settings used for calls to getDatacenterConnector.
      • createDatacenterConnectorSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateDatacenterConnectorRequest,​com.google.longrunning.Operation> createDatacenterConnectorSettings()
        Returns the object with the settings used for calls to createDatacenterConnector.
      • deleteDatacenterConnectorSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteDatacenterConnectorRequest,​com.google.longrunning.Operation> deleteDatacenterConnectorSettings()
        Returns the object with the settings used for calls to deleteDatacenterConnector.
      • deleteDatacenterConnectorOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteDatacenterConnectorRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteDatacenterConnectorOperationSettings()
        Returns the object with the settings used for calls to deleteDatacenterConnector.
      • upgradeApplianceSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpgradeApplianceRequest,​com.google.longrunning.Operation> upgradeApplianceSettings()
        Returns the object with the settings used for calls to upgradeAppliance.
      • createMigratingVmSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateMigratingVmRequest,​com.google.longrunning.Operation> createMigratingVmSettings()
        Returns the object with the settings used for calls to createMigratingVm.
      • createMigratingVmOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateMigratingVmRequest,​MigratingVm,​OperationMetadata> createMigratingVmOperationSettings()
        Returns the object with the settings used for calls to createMigratingVm.
      • getMigratingVmSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetMigratingVmRequest,​MigratingVm> getMigratingVmSettings()
        Returns the object with the settings used for calls to getMigratingVm.
      • updateMigratingVmSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateMigratingVmRequest,​com.google.longrunning.Operation> updateMigratingVmSettings()
        Returns the object with the settings used for calls to updateMigratingVm.
      • updateMigratingVmOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateMigratingVmRequest,​MigratingVm,​OperationMetadata> updateMigratingVmOperationSettings()
        Returns the object with the settings used for calls to updateMigratingVm.
      • deleteMigratingVmSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteMigratingVmRequest,​com.google.longrunning.Operation> deleteMigratingVmSettings()
        Returns the object with the settings used for calls to deleteMigratingVm.
      • deleteMigratingVmOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteMigratingVmRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteMigratingVmOperationSettings()
        Returns the object with the settings used for calls to deleteMigratingVm.
      • startMigrationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<StartMigrationRequest,​com.google.longrunning.Operation> startMigrationSettings()
        Returns the object with the settings used for calls to startMigration.
      • resumeMigrationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ResumeMigrationRequest,​com.google.longrunning.Operation> resumeMigrationSettings()
        Returns the object with the settings used for calls to resumeMigration.
      • pauseMigrationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<PauseMigrationRequest,​com.google.longrunning.Operation> pauseMigrationSettings()
        Returns the object with the settings used for calls to pauseMigration.
      • finalizeMigrationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<FinalizeMigrationRequest,​com.google.longrunning.Operation> finalizeMigrationSettings()
        Returns the object with the settings used for calls to finalizeMigration.
      • createCloneJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateCloneJobRequest,​com.google.longrunning.Operation> createCloneJobSettings()
        Returns the object with the settings used for calls to createCloneJob.
      • createCloneJobOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateCloneJobRequest,​CloneJob,​OperationMetadata> createCloneJobOperationSettings()
        Returns the object with the settings used for calls to createCloneJob.
      • cancelCloneJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CancelCloneJobRequest,​com.google.longrunning.Operation> cancelCloneJobSettings()
        Returns the object with the settings used for calls to cancelCloneJob.
      • getCloneJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetCloneJobRequest,​CloneJob> getCloneJobSettings()
        Returns the object with the settings used for calls to getCloneJob.
      • createCutoverJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateCutoverJobRequest,​com.google.longrunning.Operation> createCutoverJobSettings()
        Returns the object with the settings used for calls to createCutoverJob.
      • createCutoverJobOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateCutoverJobRequest,​CutoverJob,​OperationMetadata> createCutoverJobOperationSettings()
        Returns the object with the settings used for calls to createCutoverJob.
      • cancelCutoverJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CancelCutoverJobRequest,​com.google.longrunning.Operation> cancelCutoverJobSettings()
        Returns the object with the settings used for calls to cancelCutoverJob.
      • getCutoverJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetCutoverJobRequest,​CutoverJob> getCutoverJobSettings()
        Returns the object with the settings used for calls to getCutoverJob.
      • getGroupSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetGroupRequest,​Group> getGroupSettings()
        Returns the object with the settings used for calls to getGroup.
      • createGroupSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateGroupRequest,​com.google.longrunning.Operation> createGroupSettings()
        Returns the object with the settings used for calls to createGroup.
      • createGroupOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateGroupRequest,​Group,​OperationMetadata> createGroupOperationSettings()
        Returns the object with the settings used for calls to createGroup.
      • updateGroupSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateGroupRequest,​com.google.longrunning.Operation> updateGroupSettings()
        Returns the object with the settings used for calls to updateGroup.
      • updateGroupOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateGroupRequest,​Group,​OperationMetadata> updateGroupOperationSettings()
        Returns the object with the settings used for calls to updateGroup.
      • deleteGroupSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteGroupRequest,​com.google.longrunning.Operation> deleteGroupSettings()
        Returns the object with the settings used for calls to deleteGroup.
      • deleteGroupOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteGroupRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteGroupOperationSettings()
        Returns the object with the settings used for calls to deleteGroup.
      • addGroupMigrationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<AddGroupMigrationRequest,​com.google.longrunning.Operation> addGroupMigrationSettings()
        Returns the object with the settings used for calls to addGroupMigration.
      • removeGroupMigrationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<RemoveGroupMigrationRequest,​com.google.longrunning.Operation> removeGroupMigrationSettings()
        Returns the object with the settings used for calls to removeGroupMigration.
      • getTargetProjectSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetTargetProjectRequest,​TargetProject> getTargetProjectSettings()
        Returns the object with the settings used for calls to getTargetProject.
      • createTargetProjectSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateTargetProjectRequest,​com.google.longrunning.Operation> createTargetProjectSettings()
        Returns the object with the settings used for calls to createTargetProject.
      • updateTargetProjectSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateTargetProjectRequest,​com.google.longrunning.Operation> updateTargetProjectSettings()
        Returns the object with the settings used for calls to updateTargetProject.
      • deleteTargetProjectSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteTargetProjectRequest,​com.google.longrunning.Operation> deleteTargetProjectSettings()
        Returns the object with the settings used for calls to deleteTargetProject.
      • deleteTargetProjectOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteTargetProjectRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteTargetProjectOperationSettings()
        Returns the object with the settings used for calls to deleteTargetProject.
      • getReplicationCycleSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetReplicationCycleRequest,​ReplicationCycle> getReplicationCycleSettings()
        Returns the object with the settings used for calls to getReplicationCycle.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​VmMigrationClient.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()
      • newBuilder

        public static VmMigrationStubSettings.Builder newBuilder​(com.google.api.gax.rpc.ClientContext clientContext)
        Returns a new builder for this class.