Class DisksStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public DisksStubSettings.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()
      • addResourcePoliciesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddResourcePoliciesDiskRequest,​Operation> addResourcePoliciesSettings()
        Returns the builder for the settings used for calls to addResourcePolicies.
      • addResourcePoliciesOperationSettings

        @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<AddResourcePoliciesDiskRequest,​Operation,​Operation> addResourcePoliciesOperationSettings()
        Returns the builder for the settings used for calls to addResourcePolicies.
      • bulkInsertSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<BulkInsertDiskRequest,​Operation> bulkInsertSettings()
        Returns the builder for the settings used for calls to bulkInsert.
      • bulkInsertOperationSettings

        @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<BulkInsertDiskRequest,​Operation,​Operation> bulkInsertOperationSettings()
        Returns the builder for the settings used for calls to bulkInsert.
      • createSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSnapshotDiskRequest,​Operation> createSnapshotSettings()
        Returns the builder for the settings used for calls to createSnapshot.
      • createSnapshotOperationSettings

        @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<CreateSnapshotDiskRequest,​Operation,​Operation> createSnapshotOperationSettings()
        Returns the builder for the settings used for calls to createSnapshot.
      • deleteSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDiskRequest,​Operation> deleteSettings()
        Returns the builder for the settings used for calls to delete.
      • deleteOperationSettings

        @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<DeleteDiskRequest,​Operation,​Operation> deleteOperationSettings()
        Returns the builder for the settings used for calls to delete.
      • getSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDiskRequest,​Disk> getSettings()
        Returns the builder for the settings used for calls to get.
      • getIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyDiskRequest,​Policy> getIamPolicySettings()
        Returns the builder for the settings used for calls to getIamPolicy.
      • insertSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertDiskRequest,​Operation> insertSettings()
        Returns the builder for the settings used for calls to insert.
      • insertOperationSettings

        @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<InsertDiskRequest,​Operation,​Operation> insertOperationSettings()
        Returns the builder for the settings used for calls to insert.
      • removeResourcePoliciesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveResourcePoliciesDiskRequest,​Operation> removeResourcePoliciesSettings()
        Returns the builder for the settings used for calls to removeResourcePolicies.
      • removeResourcePoliciesOperationSettings

        @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<RemoveResourcePoliciesDiskRequest,​Operation,​Operation> removeResourcePoliciesOperationSettings()
        Returns the builder for the settings used for calls to removeResourcePolicies.
      • resizeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResizeDiskRequest,​Operation> resizeSettings()
        Returns the builder for the settings used for calls to resize.
      • resizeOperationSettings

        @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<ResizeDiskRequest,​Operation,​Operation> resizeOperationSettings()
        Returns the builder for the settings used for calls to resize.
      • setIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyDiskRequest,​Policy> setIamPolicySettings()
        Returns the builder for the settings used for calls to setIamPolicy.
      • setLabelsSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsDiskRequest,​Operation> setLabelsSettings()
        Returns the builder for the settings used for calls to setLabels.
      • setLabelsOperationSettings

        @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<SetLabelsDiskRequest,​Operation,​Operation> setLabelsOperationSettings()
        Returns the builder for the settings used for calls to setLabels.
      • startAsyncReplicationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartAsyncReplicationDiskRequest,​Operation> startAsyncReplicationSettings()
        Returns the builder for the settings used for calls to startAsyncReplication.
      • startAsyncReplicationOperationSettings

        @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<StartAsyncReplicationDiskRequest,​Operation,​Operation> startAsyncReplicationOperationSettings()
        Returns the builder for the settings used for calls to startAsyncReplication.
      • stopAsyncReplicationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopAsyncReplicationDiskRequest,​Operation> stopAsyncReplicationSettings()
        Returns the builder for the settings used for calls to stopAsyncReplication.
      • stopAsyncReplicationOperationSettings

        @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<StopAsyncReplicationDiskRequest,​Operation,​Operation> stopAsyncReplicationOperationSettings()
        Returns the builder for the settings used for calls to stopAsyncReplication.
      • stopGroupAsyncReplicationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopGroupAsyncReplicationDiskRequest,​Operation> stopGroupAsyncReplicationSettings()
        Returns the builder for the settings used for calls to stopGroupAsyncReplication.
      • stopGroupAsyncReplicationOperationSettings

        @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<StopGroupAsyncReplicationDiskRequest,​Operation,​Operation> stopGroupAsyncReplicationOperationSettings()
        Returns the builder for the settings used for calls to stopGroupAsyncReplication.
      • updateSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDiskRequest,​Operation> updateSettings()
        Returns the builder for the settings used for calls to update.
      • updateOperationSettings

        @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<UpdateDiskRequest,​Operation,​Operation> updateOperationSettings()
        Returns the builder for the settings used for calls to update.