Class SnapshotsStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

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

      • applyToAllUnaryMethods

        public SnapshotsStubSettings.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()
      • deleteSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSnapshotRequest,​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<DeleteSnapshotRequest,​Operation,​Operation> deleteOperationSettings()
        Returns the builder for the settings used for calls to delete.
      • getSettings

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

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

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertSnapshotRequest,​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<InsertSnapshotRequest,​Operation,​Operation> insertOperationSettings()
        Returns the builder for the settings used for calls to insert.
      • setIamPolicySettings

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

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsSnapshotRequest,​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<SetLabelsSnapshotRequest,​Operation,​Operation> setLabelsOperationSettings()
        Returns the builder for the settings used for calls to setLabels.